Buckets:

download
raw
500 Bytes
from typing import Optional
from pydantic import BaseModel
class CreateAccessTokenRequest(BaseModel):
"""Request model for creating access tokens."""
username: Optional[str] = None # Optional, will use authenticated user if not provided
expiration: Optional[str] = None # ISO 8601 format string
class CreateUserRequest(BaseModel):
"""Request model for creating users."""
username: str
display_name: str
is_admin: bool = False
is_service_account: bool = False

Xet Storage Details

Size:
500 Bytes
·
Xet hash:
5b88eec1d517c8c61ec9dd3a26b060b4d37095533f44cb863afff0c60d48d33a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.