class documentation

class JSONableRepeatableDescriptor(Generic[JSONableSelf, BootstrapT, StepsT]): (source)

View In Hierarchy

A descriptor that can bind methods into JSONableBoundRepeatables.

See Also
JSONRegistry.repeatMethod
Method __get__ Bind the decorated method to an instance.
Method __set_name__ Register the class of the decorated method when the decorator is registered with the class, via the protocol of object.__set_name__.
Instance Variable func The callable underlying method function.
Instance Variable registry The JSONRegistry which created this descriptor.

Bind the decorated method to an instance.

def __set_name__(self, cls: type[JSONableInstance[BootstrapT]], name: str): (source)

Register the class of the decorated method when the decorator is registered with the class, via the protocol of object.__set_name__.

The callable underlying method function.

The JSONRegistry which created this descriptor.