Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Editor.add_member() has no kind for perform-action usages

未关闭 适合新手
#644 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Open-MBEE/OpenSysML 的其他 Issue

查看 Open-MBEE/OpenSysML 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。