Download app/schemas/admin.py from Noor2623/Smart-Query-Routing-Email-Automation-System: direct link, hf CLI and curl.
- Browser
- Download file 622 Bytes
-
https://huggingface.co/spaces/Noor2623/Smart-Query-Routing-Email-Automation-System/resolve/main/app/schemas/admin.py
- Command line
-
hf download hf://spaces/Noor2623/Smart-Query-Routing-Email-Automation-System/app/schemas/admin.py
-
curl -L -o admin.py https://huggingface.co/spaces/Noor2623/Smart-Query-Routing-Email-Automation-System/resolve/main/app/schemas/admin.py
622 Bytes
| from pydantic import BaseModel, Field | |
| class AdminDepartmentUpdate(BaseModel): | |
| name: str | None = Field(default=None, max_length=100) | |
| code: str | None = Field(default=None, max_length=20) | |
| description: str | None = None | |
| keywords: str | None = None | |
| user_id: int | None = None | |
| query: str | None = None | |
| is_active: bool | None = None | |
| class AdminUserUpdate(BaseModel): | |
| email: str | None = Field(default=None, max_length=255) | |
| full_name: str | None = Field(default=None, max_length=255) | |
| department_name: str | None = Field(default=None, max_length=255) | |
| is_active: bool | None = None | |