from typing import List, Optional from pydantic import EmailStr, BaseModel from passlib.context import CryptContext from fastapi import UploadFile class UserDetails(BaseModel): userId: str