from datetime import datetime
from typing import Optional
from pydantic import BaseModel, validator
class Token(BaseModel):
access_token: str
refresh_token: str
user_id: int
class RefreshToken(BaseModel):