Module pyfreedb.base
Classes
class Codec-
Expand source code
class Codec(abc.ABC): """Codec defines the algorithm to encode and decode data before it's stored and retrieved from Google Sheets.""" def encode(self, _: bytes) -> str: pass def decode(self, _: str) -> bytes: passCodec defines the algorithm to encode and decode data before it's stored and retrieved from Google Sheets.
Ancestors
- abc.ABC
Subclasses
Methods
def decode(self, _: str) ‑> bytes-
Expand source code
def decode(self, _: str) -> bytes: pass def encode(self, _: bytes) ‑> str-
Expand source code
def encode(self, _: bytes) -> str: pass
class InvalidOperationError (*args, **kwargs)-
Expand source code
class InvalidOperationError(Exception): """Operation is not supported."""Operation is not supported.
Ancestors
- builtins.Exception
- builtins.BaseException