Source code for swh.objstorage.backends.winery
from .objstorage import WineryObjStorage # noqa: F401
[docs]
def get_datastore(cls, db):
assert cls == "postgresql"
from .sharedbase import SharedBase
return SharedBase(base_dsn=db)
from .objstorage import WineryObjStorage # noqa: F401
[docs]
def get_datastore(cls, db):
assert cls == "postgresql"
from .sharedbase import SharedBase
return SharedBase(base_dsn=db)