Editor.add_member() has no kind for perform-action usages
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- go
调研方向
从 Editor.add_member() 入口点开始,检查其对允许的成员类型的处理,然后将其与 perform action 使用场景的 load_from_content 路径进行比较。为 kind="perform action" 添加覆盖,使 editor.apply() 能够与 SysML 文本加载一致地接受该构造。
由索引模型根据 Issue 内容生成。
描述
Summary
Editor.add_member() has no kind for a perform-action usage. apply() raises IllegalMemberKindError for kind="perform action", even though the equivalent construct loads fine as SysML text.
Version: OpenSysML v0.9.0.
Observed
editor = model.edit()
editor.add_member(owner="P::H", kind="perform action", name="heat", ...)
editor.apply()
# IllegalMemberKindError: kind "perform action" is not legal in SysML source
perform action heat : ToastBread; inside a part def loads without issue when supplied as SysML text via load_from_content.
Reference
SysML v2.0 (formal/2026-03-02), 7.17.6 Perform Action Usages — the construct that records which logical component is responsible for performing a given action.
Request
Add perform action to the Editor.add_member() allowlist, alongside the existing coverage requests for allocate (#599), flow, and state usages — this repo hits all of them in the same authoring pattern (a logical component performing a function).
- 主要语言
- Go
- 星标
- 24
- 派生
- 5
- 平均合并
- 10 小时 1 分钟
- 30 天内合并 PR
- 512
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Open-MBEE/OpenSysML 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 55/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 68/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
查看 Open-MBEE/OpenSysML 的全部 Issue
相似的 Issue
-
Remove CAAPF未关闭kind/chore kind/cleanup needs-area
难度 2/5 1-3 小时 新手友好度 86/100
rancher/turtles#2848 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
priority: low 🌱 type: enhancement 💅🏼
难度 2/5 半天 新手友好度 84/100
nebari-dev/llm-serving-pack#199 ·
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复