There was an error while loading. Please reload this page.
1 parent 3d4cb64 commit a123b30Copy full SHA for a123b30
src/dialog/models/helpers.py
@@ -5,6 +5,9 @@
5
6
7
def create_session(identifier=None, dbsession=None):
8
+ if not dbsession:
9
+ dbsession = next(get_session())
10
+
11
if identifier is None:
12
identifier = uuid.uuid4().hex
13
0 commit comments