<gh_stars>10-100
from __future__ import annotations
from typing import Optional, List
from uvicore.contracts import Model as ModelInterface


# Model interfaces, though redundant, are used for proper type hinting code intellisense
class User(ModelInterface):
    id: Optional[int]
    email: str
    info: Optional[UserInfo]


# Import relations after model to avoid circular dependencies
from .user_info import UserInfo

from __future__ import annotations
from typing import Optional, List
from uvicore.contracts import Model as ModelInterface


# Model interfaces, though redundant, are used for proper type hinting code intellisense
class User(ModelInterface):
    id: Optional[int]
    email: str
    info: Optional[UserInfo]


# Import relations after model to avoid circular dependencies
from .user_info import UserInfo
# Model interfaces, though redundant, are used for proper type hinting code intellisense # Import relations after model to avoid circular dependencies