Changeset View
Changeset View
Standalone View
Standalone View
conftest.py
Show All 16 Lines | |||||
def swh_loader_config(swh_storage_postgresql) -> Dict[str, Any]: | def swh_loader_config(swh_storage_postgresql) -> Dict[str, Any]: | ||||
return { | return { | ||||
'storage': { | 'storage': { | ||||
'cls': 'pipeline', | 'cls': 'pipeline', | ||||
'steps': [ | 'steps': [ | ||||
{'cls': 'retry'}, | {'cls': 'retry'}, | ||||
{'cls': 'filter'}, | {'cls': 'filter'}, | ||||
{'cls': 'buffer'}, | {'cls': 'buffer'}, | ||||
{'cls': 'validate'}, | |||||
{ | { | ||||
'cls': 'local', | 'cls': 'local', | ||||
'args': { | 'args': { | ||||
'db': swh_storage_postgresql.dsn, | 'db': swh_storage_postgresql.dsn, | ||||
'objstorage': { | 'objstorage': { | ||||
'cls': 'memory', | 'cls': 'memory', | ||||
'args': {} | 'args': {} | ||||
}, | }, | ||||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |