gigl.common.utils.compute.serialization.StringCoder#
- class gigl.common.utils.compute.serialization.serialize_string.StringCoder(encoding: str = 'utf-8')#
Bases:
CoderProtocol
[str
]Methods
decode
encode
- __init__(encoding: str = 'utf-8')#
- 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)