Skip to content

Commit cde5fca

Browse files
ilaifMidnighter
andcommitted
fix: declare as forward references
Co-authored-by: Midnighter <[email protected]>
1 parent a1fe6df commit cde5fca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/structurizr/model/container.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ContainerIO(StaticStructureElementIO):
5050
"""
5151

5252
technology: Optional[str] = ""
53-
components: List[Component] = set()
53+
components: List["Component"] = set()
5454

5555

5656
class Container(StaticStructureElement):
@@ -76,9 +76,9 @@ class Container(StaticStructureElement):
7676
def __init__(
7777
self,
7878
*,
79-
parent: SoftwareSystem,
79+
parent: "SoftwareSystem",
8080
technology: str = "",
81-
components: Iterable[Component] = (),
81+
components: Iterable["Component"] = (),
8282
**kwargs
8383
):
8484
"""

0 commit comments

Comments
 (0)