service_man/api/schemas/token_schema.py

8 lines
118 B
Python
Raw Normal View History

2024-03-29 00:29:35 +03:00
from dataclasses import dataclass
@dataclass(frozen=True)
class TokenDTO:
access_token: str
token_type: str