2023-08-01 10:24:57 +03:00
|
|
|
from typing import Optional
|
|
|
|
from uuid import UUID
|
|
|
|
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
|
|
|
|
|
|
class UserIdentity(BaseModel):
|
2023-08-21 15:05:13 +03:00
|
|
|
id: UUID
|
|
|
|
email: Optional[str] = None
|
2023-08-01 10:24:57 +03:00
|
|
|
openai_api_key: Optional[str] = None
|