class documentation

class twisted.spread.jelly._Unjellier: (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Instance Variable taster Undocumented
Instance Variable persistentLoad Undocumented
Instance Variable references Undocumented
Instance Variable postCallbacks Undocumented
Instance Variable invoker Undocumented
Method unjellyFull Undocumented
Method unjelly Undocumented
Method unjellyInto Undocumented
Method _maybePostUnjelly If the given object has support for the postUnjelly hook, set it up to be called at the end of deserialization.
Method _genericUnjelly Unjelly a type for which no specific unjellier is registered, but which is nonetheless allowed.
Method _unjelly_None Undocumented
Method _unjelly_unicode Undocumented
Method _unjelly_decimal Unjelly decimal objects.
Method _unjelly_boolean Undocumented
Method _unjelly_datetime Undocumented
Method _unjelly_date Undocumented
Method _unjelly_time Undocumented
Method _unjelly_timedelta Undocumented
Method _unjelly_dereference Undocumented
Method _unjelly_reference Undocumented
Method _unjelly_tuple Undocumented
Method _unjelly_list Undocumented
Method _unjellySetOrFrozenset Helper method to unjelly set or frozenset.
Method _unjelly_set Unjelly set using the set builtin.
Method _unjelly_frozenset Unjelly frozenset using the frozenset builtin.
Method _unjelly_dictionary Undocumented
Method _unjelly_module Undocumented
Method _unjelly_class Undocumented
Method _unjelly_function Undocumented
Method _unjelly_persistent Undocumented
Method _unjelly_instance (internal) Unjelly an instance.
Method _unjelly_unpersistable Undocumented
Method _unjelly_method (internal) Unjelly a method.
def __init__(self, taster, persistentLoad, invoker): (source)

Undocumented

taster = (source)

Undocumented

persistentLoad = (source)

Undocumented

references = (source)

Undocumented

(type: dict)
postCallbacks = (source)

Undocumented

(type: list)
invoker = (source)

Undocumented

def unjellyFull(self, obj): (source)

Undocumented

def _maybePostUnjelly(self, unjellied): (source)

If the given object has support for the postUnjelly hook, set it up to be called at the end of deserialization.

Parametersunjelliedan object that has already been unjellied.
Returnsunjellied
def unjelly(self, obj): (source)

Undocumented

def _genericUnjelly(self, cls, state): (source)

Unjelly a type for which no specific unjellier is registered, but which is nonetheless allowed.

Parametersclsthe class of the instance we are unjellying. (type: type)
stateThe jellied representation of the object's state; its __dict__ unless it has a __setstate__ that takes something else. (type: list)
Returnsthe new, unjellied instance.
def _unjelly_None(self, exp): (source)

Undocumented

def _unjelly_unicode(self, exp): (source)

Undocumented

def _unjelly_decimal(self, exp): (source)

Unjelly decimal objects.

def _unjelly_boolean(self, exp): (source)

Undocumented

def _unjelly_datetime(self, exp): (source)

Undocumented

def _unjelly_date(self, exp): (source)

Undocumented

def _unjelly_time(self, exp): (source)

Undocumented

def _unjelly_timedelta(self, exp): (source)

Undocumented

def unjellyInto(self, obj, loc, jel): (source)

Undocumented

def _unjelly_dereference(self, lst): (source)

Undocumented

def _unjelly_reference(self, lst): (source)

Undocumented

def _unjelly_tuple(self, lst): (source)

Undocumented

def _unjelly_list(self, lst): (source)

Undocumented

def _unjellySetOrFrozenset(self, lst, containerType): (source)

Helper method to unjelly set or frozenset.

Parameterslstthe content of the set. (type: list)
containerTypethe type of set to use.
def _unjelly_set(self, lst): (source)

Unjelly set using the set builtin.

def _unjelly_frozenset(self, lst): (source)

Unjelly frozenset using the frozenset builtin.

def _unjelly_dictionary(self, lst): (source)

Undocumented

def _unjelly_module(self, rest): (source)

Undocumented

def _unjelly_class(self, rest): (source)

Undocumented

def _unjelly_function(self, rest): (source)

Undocumented

def _unjelly_persistent(self, rest): (source)

Undocumented

def _unjelly_instance(self, rest): (source)

(internal) Unjelly an instance.

Called to handle the deprecated instance token.

ParametersrestThe s-expression representing the instance.
ReturnsThe unjellied instance.
def _unjelly_unpersistable(self, rest): (source)

Undocumented

def _unjelly_method(self, rest): (source)

(internal) Unjelly a method.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.