class documentation

class SerializableFunction(Generic[BootstrapT, SomeSignature]): (source)

View In Hierarchy

Wrapper around a function that conforms with JSONable.

Method __call__ Delegate invocation to the wrapped callable.
Method toJSON Return an empty object.
Method typeCodeForJSON Return the static type code supplied at construction time.
Class Variable original Undocumented
Class Variable typeCode Undocumented
def __call__(self, *args: SomeSignature.args, **kwargs: SomeSignature.kwargs): (source)

Delegate invocation to the wrapped callable.

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

Return an empty object.

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

Return the static type code supplied at construction time.

typeCode: str = (source)

Undocumented