We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3bde30 commit 67da967Copy full SHA for 67da967
src/structurizr/abstract_base.py
@@ -28,3 +28,7 @@ class AbstractBase(ABC):
28
def __hash__(self) -> int:
29
"""Return an integer that represents a unique hash value for this instance."""
30
return id(self)
31
+
32
+ def __repr__(self) -> str:
33
+ """Return a string representation of this instance."""
34
+ return f"{type(self).__name__}({id(self)})"
0 commit comments