This commit is contained in:
parent
e3ffc009d5
commit
e398068c0e
|
@ -24,7 +24,7 @@ class SessionDB(DDB):
|
||||||
self.sid = sid
|
self.sid = sid
|
||||||
# Override storage engine for sessions
|
# Override storage engine for sessions
|
||||||
if storage_engine == StorageEngines.gcs:
|
if storage_engine == StorageEngines.gcs:
|
||||||
self.path_prefix = "gcs://{bucket}/sessions/{sid}"
|
self.path_prefix = f"gcs://{bucket}/sessions/{sid}"
|
||||||
elif storage_engine == StorageEngines.local:
|
elif storage_engine == StorageEngines.local:
|
||||||
self.path_prefix = path / "sessions" / sid
|
self.path_prefix = path / "sessions" / sid
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue