Refactor LargeFile
This commit is contained in:
parent
a19a39a3a0
commit
a4e16d5739
1 changed files with 583 additions and 396 deletions
10
great_ai/src/great_ai/large_file/models/data_instance.py
Normal file
10
great_ai/src/great_ai/large_file/models/data_instance.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from typing import Any, Literal
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class DataInstance(BaseModel):
|
||||
name: str
|
||||
version: int
|
||||
remote_path: Any
|
||||
origin: Literal["filesystem", "mongodb", "s3"]
|
||||
Loading…
Reference in a new issue