Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /ParisNeo_lollms /backend /models /api_key.py
| import datetime | |
| from typing import Optional | |
| from pydantic import BaseModel, constr, ConfigDict | |
| class APIKeyBase(BaseModel): | |
| alias: constr(min_length=1, max_length=100) | |
| class APIKeyCreate(APIKeyBase): | |
| pass | |
| class APIKeyPublic(APIKeyBase): | |
| model_config = ConfigDict(from_attributes=True) | |
| id: int | |
| created_at: datetime.datetime | |
| last_used_at: Optional[datetime.datetime] = None | |
| key_prefix: str | |
| class NewAPIKeyResponse(APIKeyPublic): | |
| full_key: str | |
Xet Storage Details
- Size:
- 477 Bytes
- Xet hash:
- 7f270a0e2d729b1f893a795aadc8bdbf28891f515496f87ef98ef849ca6c00c4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.