asset#
Classes:
Basic information about an uploaded asset file. |
|
Complete uploaded asset file metadata model. |
- class GridFSAsset#
Basic information about an uploaded asset file.
Attributes:
- fileid: str#
File ID as a string
- filename: str#
File name, e.g,. “image.png”
- filetype: str#
File format extension, e.g., “png”
- class GridFSFile#
Complete uploaded asset file metadata model.
Attributes:
File chunk size in bytes
Asset content type, e.g., "image/png"
File name
Associated job or session UID
Size of file in bytes
Associated project UID
Saved as updatedAt to the database
- chunkSize: int#
File chunk size in bytes
- contentType: Literal['text/plain', 'text/csv', 'text/html', 'application/json', 'application/xml', 'application/x-troff', 'application/pdf', 'image/gif', 'image/jpeg', 'image/png', 'image/svg+xml', 'application/octet-stream']#
Asset content type, e.g., “image/png”
- filename: str#
File name
- id: str#
- job_uid: str#
Associated job or session UID
- length: int#
Size of file in bytes
- project_uid: str#
Associated project UID
- uploadDate: datetime#
Saved as updatedAt to the database