Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /JeanExtreme002_Dokku-API /src /api /schemas /user.py
| from datetime import datetime | |
| from typing import List, Optional, Tuple | |
| from pydantic import BaseModel | |
| from src.config import Config | |
| class UserSchema(BaseModel): | |
| id: int | |
| email: str | |
| access_token: str | |
| access_token_expiration: Optional[datetime] = None | |
| is_admin: bool = False | |
| take_over_access_token: Optional[str] = None | |
| take_over_access_token_expiration: Optional[datetime] = None | |
| created_at: datetime | |
| apps_quota: int = Config.API_DEFAULT_APPS_QUOTA | |
| services_quota: int = Config.API_DEFAULT_SERVICES_QUOTA | |
| networks_quota: int = Config.API_DEFAULT_NETWORKS_QUOTA | |
| apps: List[str] = [] | |
| shared_apps: List[Tuple[str, str]] = [] | |
| services: List[str] = [] | |
| networks: List[str] = [] | |
| class Config: | |
| orm_mode = True | |
Xet Storage Details
- Size:
- 777 Bytes
- Xet hash:
- 376bf83c7fb7e49222ebd631b210c1ed8f8267f8176f741ea3d0f94540820c89
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.