fix(workflow): allow right-hand operand to be optional when not required by comparison

This commit is contained in:
Eternity
2026-03-20 19:09:41 +08:00
parent fabc8936ab
commit cf26c9f39c
9 changed files with 13 additions and 10 deletions

View File

@@ -65,6 +65,7 @@ def get_db_read() -> Generator[Session, None, None]:
yield db
finally:
db.rollback() # 只读任务无需 commit
db.close()
def get_pool_status():