def get(cls, **kwargs):
        """Get a copy of the type from the cache and reconstruct it."""

        data = cls._get(**kwargs)
        if data is None:
            new = cls()
            new.from_miss(**kwargs)
            return new
        return cls.deserialize(data)
def get ( cls , ** kwargs ) : data = cls . _get ( ** kwargs ) if data is None : new = cls ( ) new . from_miss ( ** kwargs ) return new return cls . deserialize ( data )
Get a copy of the type from the cache and reconstruct it.