feat: implement full API - all admin/user routes, RBAC, sync service, collector, MySQL config, superadmin hanbin credentials
9d66536 Download app/schemas/user/category.py from binhugg2/api: direct link, hf CLI and curl.
- Browser
- Download file 147 Bytes
-
https://huggingface.co/spaces/binhugg2/api/resolve/main/app/schemas/user/category.py
- Command line
-
hf download hf://spaces/binhugg2/api/app/schemas/user/category.py
-
curl -L -o category.py https://huggingface.co/spaces/binhugg2/api/resolve/main/app/schemas/user/category.py
147 Bytes
| from pydantic import BaseModel | |
| class CategoryUserNode(BaseModel): | |
| id: int | |
| name: str | |
| children: list["CategoryUserNode"] | None = None | |