You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These protocols are to be used with the implemented Annotated types to represent these inmanta classes on python.
Make sure to add the appropriate attributes for these protocols.
Example usage:
Entity(Protocol):
requires: list
provides: list
MyCustomEntityProtocol(Entity):
value: int
MyCustomEntity: typing.TypeAlias = typing.Annotated[MyCustomEntityProtocol, ModelType["std::MyCustomEntity"]]
The text was updated successfully, but these errors were encountered:
These protocols are to be used with the implemented Annotated types to represent these inmanta classes on python.
Make sure to add the appropriate attributes for these protocols.
Example usage:
The text was updated successfully, but these errors were encountered: