Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /gavincui1026_Fastapi-Backend /backend /src /models /schemas /account.py
| import datetime | |
| import pydantic | |
| from src.models.schemas.base import BaseSchemaModel | |
| class AccountInCreate(BaseSchemaModel): | |
| username: str | |
| email: pydantic.EmailStr | |
| password: str | |
| class AccountInUpdate(BaseSchemaModel): | |
| username: str | None | |
| email: str | None | |
| password: str | None | |
| class AccountInLogin(BaseSchemaModel): | |
| username: str | |
| email: pydantic.EmailStr | |
| password: str | |
| class AccountWithToken(BaseSchemaModel): | |
| token: str | |
| username: str | |
| email: pydantic.EmailStr | |
| is_verified: bool | |
| is_active: bool | |
| is_logged_in: bool | |
| created_at: datetime.datetime | |
| updated_at: datetime.datetime | None | |
| class AccountInResponse(BaseSchemaModel): | |
| id: int | |
| authorized_account: AccountWithToken | |
Xet Storage Details
- Size:
- 755 Bytes
- Xet hash:
- 51210ee266337751e46b10f562a68b96ebac50190a24b2b6bc3aa7b00679aaf2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.