Skip to content

Commit 7b99d9a

Browse files
ilaifMidnighter
andcommitted
style: use keyword arguments, cut docstring
Co-authored-by: Midnighter <[email protected]>
1 parent f41f38e commit 7b99d9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/structurizr/view/terminology.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ class TerminologyIO(BaseModel):
3737

3838
enterprise: Optional[str]
3939
person: Optional[str]
40-
software_system: Optional[str] = Field(None, alias="softwareSystem")
40+
software_system: Optional[str] = Field(default=None, alias="softwareSystem")
4141
container: Optional[str]
4242
component: Optional[str]
4343
code: Optional[str]
44-
deployment_node: Optional[str] = Field(None, alias="deploymentNode")
44+
deployment_node: Optional[str] = Field(default=None, alias="deploymentNode")
4545
relationship: Optional[str]
4646

4747

4848
class Terminology(AbstractBase):
4949
"""
50-
Provides a way for the terminology on diagrams, etc to be modified (e.g. language translations).
50+
Provide a way for the terminology on diagrams, etc. to be modified.
5151
5252
Attributes:
5353

0 commit comments

Comments
 (0)