def register_storage_wrapper(type_):
    """Decorator that associates a type to a ``FeatureStorage`` object."""

    def deco(cls):
        STORAGE_WRAPPERS[type_] = cls
        return cls

    return deco
Decorator that associates a type to a ``FeatureStorage`` object.
python/dgl/storages/base.py