Spaces:
Runtime error
Runtime error
Download app/schemas/token.py from abdullah090809/FastAPI-Project: direct link, hf CLI and curl.
- Browser
- Download file 184 Bytes
-
https://huggingface.co/spaces/abdullah090809/FastAPI-Project/resolve/main/app/schemas/token.py
- Command line
-
hf download hf://spaces/abdullah090809/FastAPI-Project/app/schemas/token.py
-
curl -L -o token.py https://huggingface.co/spaces/abdullah090809/FastAPI-Project/resolve/main/app/schemas/token.py
184 Bytes
| from typing import Optional | |
| from pydantic import BaseModel | |
| class Token(BaseModel): | |
| access_token: str | |
| token_type: str | |
| class TokenData(BaseModel): | |
| id: Optional[int] = None |