refactor: standardize runtime annotation types across multiple files
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from datetime import datetime # noqa: TCH003
|
||||
from datetime import datetime
|
||||
from uuid import UUID, uuid4
|
||||
|
||||
from sqlmodel import Field
|
||||
@@ -10,6 +10,8 @@ from sqlmodel import Field
|
||||
from app.core.time import utcnow
|
||||
from app.models.base import QueryModel
|
||||
|
||||
RUNTIME_ANNOTATION_TYPES = (datetime,)
|
||||
|
||||
|
||||
class Gateway(QueryModel, table=True):
|
||||
"""Configured external gateway endpoint and authentication settings."""
|
||||
|
||||
Reference in New Issue
Block a user