Discussion: blueapi plan renaming
维护者通常 7 天内回复
还没有人认领这个 Issue。
评估
调研方向
The issue is a design discussion, not a settled change. Start with the plan-registration code in blueapi that reads the __name__ of an imported plan, and with the __init__.py re-export pattern shown in the issue. Done would mean a maintainer-agreed approach, such as an explicit registration name or a wrapper, before any implementation begins.
由索引模型根据 Issue 内容生成。
描述
On i15-1, we've tried to do
from .data_collection import (
data_collection as single_temperature_collection,
)
__all__ = ["single_temperature_collection"]
in the hope that we could rename our plan as seen inside blueapi. However, the registered plan name is still data_collection inside blueapi, I'm guessing because blueapi uses the __name__ attribute of the imported object to decide this.
There are use cases when you may want to register a plan under a different name inside blueapi, for example if you want the plan called one thing for internal use as a subplan, but something else when exposed to users.
Having said this, maybe the simplest solution is just to wrap plans when we want to do this. Interested on other people's thoughts
- 主要语言
- Python
- 星标
- 13
- 派生
- 14
- 平均合并
- 8 天 7 小时
- 30 天内合并 PR
- 5
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DiamondLightSource/blueapi 的其他 Issue
-
priority high
难度 2/5 1-3 小时 新手友好度 75/100
DiamondLightSource/blueapi#1702 · 2 条评论 ·
维护者通常 7 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
DiamondLightSource/blueapi#1626 ·
维护者通常 7 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
DiamondLightSource/blueapi#1623 · 2 条评论 ·
维护者通常 7 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
DiamondLightSource/blueapi#1605 · 1 条评论 ·
维护者通常 7 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
DiamondLightSource/blueapi#1494 ·
维护者通常 7 天内回复
查看 DiamondLightSource/blueapi 的全部 Issue
相似的 Issue
-
idxmax/idxmin raise ValueError when a single partition is all-NA可能已有人在做 @Jason10191019999 今天认领。 未关闭needs triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
-
[BUG]: Windows GUI package of v1.17.0-rc3 has no GTK DLLs可能已有人在做 @andrut-ds 今天认领。 未关闭bug CI/CD Pactus-GUI Windows
难度 2/5 1-3 小时 新手友好度 82/100
pactus-project/pactus#2428 ·
维护者通常 1 天内回复
-
DiskDataset.reshard() can hang with a zero or negative shard size可能已有人在做 @Programmer-Develops 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 19 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
GNS3/gns3-server#3017 · 1 条评论 ·
维护者通常 1 天内回复