snakia.property.hook_property
Classes
|
Abstract base class for generic types. |
|
A property that calls a function when the property is set, get, or deleted. |
|
|
|
Type variable. |
- class snakia.property.hook_property.HookProperty(on_get, on_set=<function func>, on_del=<function func>)[source]
Bases:
PrivProperty[T],Generic[T]A property that calls a function when the property is set, get, or deleted.
- property name: str
Return the name of the variable associated with the property.