code: def from_data(cls, blob):
          
          version, data = decompress_datablob(DATA_BLOB_MAGIC_RETRY, blob)
  
          if version == 1:
              for clazz in cls._all_subclasses():
                  if clazz.__name__ == data["_class_name"]:
                      return clazz._from_data_v1(data)
  
          raise Exception("Invalid data blob data or version")
docs: Restore an object instance from a compressed datablob.
  
          Returns an instance of a concrete subclass.