Documentation
from typing import TypeVar T = TypeVar("T") [docs] class SerializationStrategy(object): [docs] def can_handle_serialization(self, obj) -> bool: raise NotImplementedError [docs] def serialize(self, obj) -> object: raise NotImplementedError