Add flush() functionality
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- testing-qa
调研方向
未指定文件或测试路径。首先定位单元测试消息路径以及应由 flush() 所属的 API,然后明确它应如何与 asyncio.sleep() 交互,以及它会移除哪些旧消息。当 issue 中的示例能够清除过时消息,并且有针对性的单元测试覆盖验证该行为时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
When running unit tests, it is useful to have the ability to flush old messages, in order to acquire the most up-to-date ones.
In the example below, it would be useful to flush() after asyncio.sleep():
- 主要语言
- Python
- 星标
- 142
- 派生
- 110
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenCyphal/pycyphal 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 48/100
OpenCyphal/pycyphal#396 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
OpenCyphal/pycyphal#338 · 3 条评论 ·
-
DiagnosticPublisher attempts to use the main asyncio event loop from worker threads (which fails)未关闭class-defect domain-core help wanted severity-major
难度 3/5 1-2 天 新手友好度 45/100
OpenCyphal/pycyphal#336 ·
-
class-defect domain-core help wanted severity-minor
难度 3/5 1-2 天 新手友好度 38/100
OpenCyphal/pycyphal#334 ·
-
class-defect domain-transport-redundant domain-transport-udp help wanted
难度 4/5 3-5 天 新手友好度 38/100
OpenCyphal/pycyphal#314 · 2 条评论 ·
查看 OpenCyphal/pycyphal 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
slavakurilyak/awesome-ai-agents#845 ·
维护者通常 1 天内回复
-
tests: pin that the atomic writers in utils/paths.py stage the temporary file in the target's directory可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭difficulty:2 enhancement good first issue
难度 1/5 1-3 小时 新手友好度 92/100
MakazhanAlpamys/Soup#2178 ·
维护者通常 1 天内回复
-
[BUG] dcg.waggr permutation p-values are folded twice, so near-zero scores get the smallest p-values未关闭
难度 2/5 1-3 小时 新手友好度 75/100
scverse/rapids-singlecell#854 ·
维护者通常 1 天内回复
-
Slang input: int8_t4_packed and uint8_t4_packed are copied into CrossGL可能已有人在做 @ninglinLiu 今天认领。 未关闭area:frontend backend:slang bug direction:input
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 13 天内回复