Add entry_point
attribute to Node
and Group
classes.
#4939
Labels
good first issue
Issues that should be relatively easy to fix also for beginning contributors
priority/nice-to-have
topic/orm
type/enhancement
Milestone
Is your feature request related to a problem? Please describe
When I first wanted to obtain the entry point from a
Group
instance, I intuitively looked for theentry_point
attribute. However, it seems that the entry point of aGroup
type can be obtained with thetype_string
attribute instead. Is there a difference between thetype_string
and the entry point? If not, perhaps we can add an alias for this attribute calledentry_point
?For
Node
instances, I don't seem to find an attribute or method that directly returns the entry point. There isnode_type
andclass_node_type
, but they return something along the lines of'<entry point group>.<entry point>.<class name>'
e.g.'data.structure.StructureData.'
. So, the user would have to understand this structure and adapt the output accordingly.Describe your desired solution
I think it would be useful for users and developers if we can obtain the entry point for any object that has one with an
entry_point
attribute. Since users learn about entry points early on, it seems more intuitive to obtain aNode
orGroup
's entry point via an attribute with the same name.The text was updated successfully, but these errors were encountered: