mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-23 03:42:59 -05:00
* move api key to non-ee * finalize previous migration * move token rate limit to non-ee * general cleanup * update * update * finalize * finalize * ensure callable * k
9 lines
169 B
Python
9 lines
169 B
Python
from pydantic import BaseModel
|
|
|
|
from danswer.auth.schemas import UserRole
|
|
|
|
|
|
class APIKeyArgs(BaseModel):
|
|
name: str | None = None
|
|
role: UserRole = UserRole.BASIC
|