gigl.common.utils.compute.serialization.CoderProtocol#
- class gigl.common.utils.compute.serialization.coder.CoderProtocol(*args, **kwargs)#
Bases:
Protocol
,Generic
[T
]Methods
decode
encode
- __init__(*args, **kwargs)#
- classmethod __init_subclass__(*args, **kwargs)#
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- __subclasshook__()#
Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
- __weakref__#
list of weak references to the object (if defined)