Buckets:

download
raw
1.12 kB
"""
End-user table model.
Canonical definition for ``litellm_endusertable``. Re-exported from
``litellm.proxy._types`` for backwards compatibility.
"""
from typing import Literal
from pydantic import ConfigDict, model_validator
from litellm.models.budget import LiteLLM_BudgetTable
from litellm.models.object_permission import LiteLLM_ObjectPermissionTable
from litellm.types.llms.base import LiteLLMPydanticObjectBase
class LiteLLM_EndUserTable(LiteLLMPydanticObjectBase):
user_id: str
blocked: bool
alias: str | None = None
spend: float = 0.0
allowed_model_region: Literal["eu", "us"] | None = None
default_model: str | None = None
budget_id: str | None = None
litellm_budget_table: LiteLLM_BudgetTable | None = None
object_permission_id: str | None = None
object_permission: LiteLLM_ObjectPermissionTable | None = None
@model_validator(mode="before")
@classmethod
def set_model_info(cls, values):
if values.get("spend") is None:
values.update({"spend": 0.0})
return values
model_config = ConfigDict(protected_namespaces=())

Xet Storage Details

Size:
1.12 kB
·
Xet hash:
63b4de70685f9e8c2ef764243193cd6b499faf24ef5da9b368942b6ec8d34937

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