swh.objstorage.proxies.readonly module#
- class swh.objstorage.proxies.readonly.ReadOnlyProxyObjStorage(storage: ObjStorageInterface | Dict, **kwargs)[source]#
Bases:
ObjStorage
Filter that disable write operation of the storage.
Writes will always succeed without doing any actual write operations.
- name: str = 'read-only'#
Default objstorage name; can be overloaded at instantiation time giving a ‘name’ argument to the constructor