G-Node / G-Node/python-odml

Section attributes

オープン
#93 コメント 16 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。