G-Node / G-Node/python-odml

Section attributes

Đang mở
#93 16 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
25
Fork
30
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.