chore: update semantic contracts and git merge handling
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
# [DEF:backend.delete_running_tasks:Module]
|
||||
# [DEF:DeleteRunningTasksUtil:Module]
|
||||
# @PURPOSE: Script to delete tasks with RUNNING status from the database.
|
||||
# @LAYER: Utility
|
||||
# @SEMANTICS: maintenance, database, cleanup
|
||||
# @RELATION: DEPENDS_ON ->[TasksSessionLocal]
|
||||
# @RELATION: DEPENDS_ON ->[TaskRecord]
|
||||
|
||||
from sqlalchemy.orm import Session
|
||||
from src.core.database import TasksSessionLocal
|
||||
@@ -41,4 +43,4 @@ def delete_running_tasks():
|
||||
|
||||
if __name__ == "__main__":
|
||||
delete_running_tasks()
|
||||
# [/DEF:backend.delete_running_tasks:Module]
|
||||
# [/DEF:DeleteRunningTasksUtil:Module]
|
||||
|
||||
Reference in New Issue
Block a user