mirror of
https://github.com/QuivrHQ/quivr.git
synced 2025-01-07 08:07:44 +03:00
2e75de4039
# Description closes #2722. - Creates `quivr-monorepo` - Separates `quivr-core` - Update dockerfiles and docker-compose --------- Co-authored-by: aminediro <aminediro@github.com>
17 lines
243 B
Python
17 lines
243 B
Python
from uuid import UUID
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class FileInStorage(BaseModel):
|
|
Id: UUID
|
|
Key: str
|
|
|
|
@property
|
|
def id(self) -> UUID:
|
|
return self.Id
|
|
|
|
@property
|
|
def key(self) -> str:
|
|
return self.Key
|