code: def get_or_create(cls, **kwargs):
          
  
          data = cls._get(**kwargs)
          if data is None:
              return cls(**kwargs), True
          return cls.deserialize(data), False
docs: Get a copy of the type from the cache, or create a new one.