---------------------------------------------------------------------- This is the API documentation for the gdtest_protocols library. ---------------------------------------------------------------------- ## Abstract Classes Abstract base classes Serializable() Abstract base class for serializable objects. Subclasses must implement ``to_bytes`` and ``from_bytes``. ## Protocols Protocol / structural-typing interfaces Renderable(*args, **kwargs) Protocol for objects that can be rendered to string. Any object with a ``render`` method returning ``str`` satisfies this protocol.