Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /ParisNeo_lollms /backend /db /models /friends.py
| import datetime | |
| from pydantic import BaseModel, constr | |
| from backend.db.base import FriendshipStatus | |
| class FriendshipBase(BaseModel): | |
| pass | |
| class FriendRequestCreate(BaseModel): | |
| target_username: constr(min_length=3, max_length=50) | |
| class FriendshipAction(BaseModel): | |
| action: str | |
| class FriendPublic(BaseModel): | |
| id: int | |
| username: str | |
| friendship_id: int | |
| status_with_current_user: FriendshipStatus | |
| class Config: | |
| from_attributes = True | |
| class FriendshipRequestPublic(BaseModel): | |
| friendship_id: int | |
| requesting_user_id: int | |
| requesting_username: str | |
| requested_at: datetime.datetime | |
| status: FriendshipStatus | |
| class Config: | |
| from_attributes = True |
Xet Storage Details
- Size:
- 708 Bytes
- Xet hash:
- b00e539bcdb486a3d5dbbe5f0d2e9d03256403637017bf51ba5175d1ff742456
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.