Spaces:
Paused
Paused
Download backend/models.py from adekolateam/arkitel: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/spaces/adekolateam/arkitel/resolve/main/backend/models.py
- Command line
-
hf download hf://spaces/adekolateam/arkitel/backend/models.py
-
curl -L -o models.py https://huggingface.co/spaces/adekolateam/arkitel/resolve/main/backend/models.py
371 Bytes
| from typing import Optional, List | |
| from pydantic import BaseModel | |
| class Account(BaseModel): | |
| id: int | |
| phone_number: str | |
| session_string: str | |
| status: str # active, banned, pending | |
| class Task(BaseModel): | |
| id: int | |
| account_id: int | |
| scheduled_time: str | |
| message_text: str | |
| target_groups: str | |
| status: str # pending, running, completed, failed | |