quivr/backend/api/quivr_api/models/files_in_storage.py
AmineDiro 2e75de4039
feat(backend): quivr-monorepo and quivr-core package (#2765)
# Description

closes #2722.

- Creates `quivr-monorepo` 
- Separates `quivr-core`
- Update dockerfiles and docker-compose

---------

Co-authored-by: aminediro <aminediro@github.com>
2024-06-27 03:51:01 -07:00

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