Discussion: blueapi plan renaming
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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
- 平均マージ
- 7日 1時間
- マージ済み PR(30日)
- 12
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DiamondLightSource/blueapi のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DiamondLightSource/blueapi#1626 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DiamondLightSource/blueapi#1623 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DiamondLightSource/blueapi#1605 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
DiamondLightSource/blueapi#1494 ·
メンテナーはふだん 1 日以内に返信
-
c: client
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
DiamondLightSource/blueapi#1704 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
DiamondLightSource/blueapi の issue をすべて見る
似ている issue
-
Uninstall guide omits the CloudWatch log groups AWS CodeBuild creates for useCodeBuild pipelinesオープンbug documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
awslabs/visual-asset-management-system#552 ·
メンテナーはふだん 1 日以内に返信
-
netbox status: needs triage type: documentation
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
netbox-community/netbox#23460 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
awslabs/threat-composer#362 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ansys/pyansys-common-mcp#213 ·
メンテナーはふだん 3 日以内に返信