G-Node / G-Node/python-odml

Section attributes

未关闭
#93 16 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
25
派生
30
PR 合并指标
30 天内没有已合并 PR

描述

Currently odml.Section() takes name, type, parent and definition.

For me parent does not make sense here. Especially since odml.Property() does not have a parent args.

Another thing: a Section object has a reference attribute, but it can't be defined when creating the Section like it can be done for a Property. In general I think that the reference (if interpreted as reference from where metadata are coming from) is an attribute which should only belong to Properties and not Sections. A Section could contain Properties with metadata coming from different sources.

What do you think?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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