-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Checklist
- There are no similar issues or pull requests for this yet.
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")
See also #13
Describe the solution you would like.
class Container(StaticStructureElement):
def __init__(
self,
name: str = "",
desctription: str = "",
*,
parent: "SoftwareSystem" = None,
technology: str = "",
components: Iterable[Component] = (),
**kwargs
)
borisnaydis
Metadata
Metadata
Assignees
Labels
No labels