class documentation

class JSONableBoundRepeatable(Generic[JSONableSelf, BootstrapT, StepsTInv]): (source)

View In Hierarchy

Like JSONableBoundMethod, but for repeating calls.

Method __call__ Call this bound method's function with its instance as self.
Method toJSON Convert this method's instance to a JSON-dumpable dict.
Method typeCodeForJSON Combine the bound method's name with its owning class's type code.
Instance Variable descriptor the descriptor that this bound method is binding, created by JSONRegistry.repeatMethod.
Instance Variable instance the instance that this bound method is bound to; a JSONableInstance of some kind.
def __call__(self, steps: StepsTInv, scheduled: SomeScheduledCall): (source)

Call this bound method's function with its instance as self.

def toJSON(self, registry: JSONRegistry[BootstrapT]) -> JSONObject: (source)

Convert this method's instance to a JSON-dumpable dict.

def typeCodeForJSON(self) -> str: (source)

Combine the bound method's name with its owning class's type code.

the descriptor that this bound method is binding, created by JSONRegistry.repeatMethod.

the instance that this bound method is bound to; a JSONableInstance of some kind.