You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
Is your feature related to a problem? Please describe it.
When constructing a model from Python (rather than manipulating an existing one), it would be natural and more compact to be able to specify both the name and description of an element positionally rather than having to explicitly name them:
c1=Container("Mobile app", "Application running on mobile devices")
I guess it's a matter of style. I definitely prefer named keyword arguments for instantiation (makes it safer in my opinion). @ilaif prefers keyword arguments everywhere 😃
However, I don't need to force my style on others. So I'm not opposed to this change.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Checklist
Is your feature related to a problem? Please describe it.
When constructing a model from Python (rather than manipulating an existing one), it would be natural and more compact to be able to specify both the name and description of an element positionally rather than having to explicitly name them:
See also #13
Describe the solution you would like.
The text was updated successfully, but these errors were encountered: