@classmethod
def deserialize(cls: 'Type[CType]', serialized: 'Any') ->'CType':
    """
        Deserialize a serialized instance of this component.

        Will get the output of `serialize` as an argument.

        Override this in all your Component classes to make use of snecs'
        full-World serialization feature.
        """
    raise AttributeError(
        f"{cls} doesn't define deserialize()and so is not deserializable.")
