def METHOD_NAME(path, dataset, key=None) -> Info:
    storage: LRUCache = dataset.storage
    try:
        info = storage.get_deeplake_object(path, Info)
    except KeyError:
        info = Info()
    info._dataset = dataset
    info._key = key
    storage.register_deeplake_object(path, info)
    return info