Skip to content

Commit c232581

Browse files
committed
Added comment ref to Alembic rev for k/v table
1 parent f510f36 commit c232581

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/server/api/admin_api.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ def execute():
7070
last_execution_details = {"executionTime": current_time, "stats": statistics}
7171
last_ex_json = (json.dumps(last_execution_details))
7272

73-
# Write Last Execution stats to DB
73+
# Write Last Execution stats to DB
74+
# See Alembic Revision ID: 05e0693f8cbb for table definition
7475
with engine.connect() as connection:
7576
ins_stmt = insert(kvt).values(
7677
keycol = 'last_execution_time',
@@ -114,7 +115,7 @@ def list_statistics():
114115

115116
last_execution_details = '{}' # Empty but valid JSON
116117

117-
try:
118+
try: # See Alembic Revision ID: 05e0693f8cbb for table definition
118119
with engine.connect() as connection:
119120
s = text("select valcol from kv_unique where keycol = 'last_execution_time';")
120121
result = connection.execute(s)

0 commit comments

Comments
 (0)