mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-15 06:10:15 +02:00
9 lines
166 B
Python
9 lines
166 B
Python
from pydantic import BaseModel
|
|
|
|
from onyx.auth.schemas import UserRole
|
|
|
|
|
|
class APIKeyArgs(BaseModel):
|
|
name: str | None = None
|
|
role: UserRole = UserRole.BASIC
|