decorators module#

early(method)[source]#

Call this method before calling other initializers in this class.

Parameters:

method (Callable)

late(method)[source]#

Call this method after calling all other initializers in this class.

Parameters:

method (Callable)

identityclass[T](cls=None, **kwargs)[source]#

Decorator to make a dataclass but setting eq and hash to object identity. This allows a dataclass to serve as a structural jitx type.

Overloads:
Parameters:

cls (type[T] | None)