We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96fce16 commit a407913Copy full SHA for a407913
src/idom/core/proto.py
@@ -32,11 +32,12 @@ class ComponentType(Protocol):
32
key: Key | None
33
"""An identifier which is unique amongst a component's immediate siblings"""
34
35
- definition_id: int
36
- """A globally unique identifier for this component definition.
+ @property
+ def definition_id(self) -> int:
37
+ """A globally unique identifier for this component definition.
38
- Usually the :func:`id` of this class or an underlying function.
39
- """
+ Usually the :func:`id` of this class or an underlying function.
40
+ """
41
42
def render(self) -> VdomDict:
43
"""Render the component's :class:`VdomDict`."""
0 commit comments