M18: implement operational workspaces
This commit is contained in:
@@ -2,7 +2,7 @@ from __future__ import annotations
|
||||
|
||||
import uuid
|
||||
from dataclasses import dataclass
|
||||
from datetime import UTC, datetime
|
||||
from datetime import UTC, datetime, timedelta
|
||||
|
||||
from sqlalchemy import select
|
||||
from sqlalchemy.exc import IntegrityError
|
||||
@@ -255,6 +255,7 @@ def register_vehicle_return(
|
||||
},
|
||||
proposed_action_json={},
|
||||
detected_at=now,
|
||||
due_at=now + timedelta(days=1),
|
||||
)
|
||||
db.add(issue)
|
||||
db.flush()
|
||||
|
||||
Reference in New Issue
Block a user