Activity should be able to be called outside of subscriber
还没有人认领这个 Issue。
评估
调研方向
首先定位 Python library 中的 Activity 实现以及 subscriber callback 路径。确定直接调用应如何与 triggered、started 和 finished 事件关联,然后验证现有 subscriber 行为保持不变,并且直接调用已由测试覆盖。
由索引模型根据 Issue 内容生成。
描述
Description
An Activity should be able to handle being called without being a subscriber callback.
That is, you should be able to call an activity.
Example:
class MyActivity(Activity):
pass
activity = MyActivity(...)
activity()
# Stuff happens
Motivation
Sometimes an activity can be triggered without listening on events, for example when creating a tool that sends activity triggered,started,finished.
Exemplification
Activities should be allowed to be used as activities started and not just activities triggered.
Benefits
Ease of use.
Possible Drawbacks
Maybe pinning too much functionality to the activity object.
- 主要语言
- Python
- 星标
- 8
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eiffel-community/eiffel-pythonlib 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
eiffel-community/eiffel-pythonlib#44 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
eiffel-community/eiffel-pythonlib#31 · 1 条评论 ·
-
on-hold
难度 5/5 一周以上 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 2/5 1-3 小时 新手友好度 35/100
eiffel-community/eiffel-pythonlib#28 · 3 条评论 ·
查看 eiffel-community/eiffel-pythonlib 的全部 Issue
相似的 Issue
-
changelog investigate
难度 2/5 1-3 小时 新手友好度 65/100
ramnes/notion-sdk-py#423 ·
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 89/100
duckdb/duckdb-web#7514 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
jbacalso24/mimry#525 ·
维护者通常 1 天内回复