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 sqlalchemy import UniqueConstraint
|
||||
@@ -11,6 +11,8 @@ from sqlmodel import Field
|
||||
from app.core.time import utcnow
|
||||
from app.models.base import QueryModel
|
||||
|
||||
RUNTIME_ANNOTATION_TYPES = (datetime,)
|
||||
|
||||
|
||||
class OrganizationMember(QueryModel, table=True):
|
||||
"""Membership row linking a user to an organization and permissions."""
|
||||
|
||||
Reference in New Issue
Block a user