nv_ingest.modules.storages package#
Submodules#
nv_ingest.modules.storages.image_storage module#
- nv_ingest.modules.storages.image_storage.upload_images(
- df: DataFrame,
- params: Dict[str, Any],
Identifies content within a DataFrame and uploads it to MinIO, updating metadata with the uploaded URL.
- Parameters:
df (pd.DataFrame) – The DataFrame containing the content to be uploaded.
params (dict) – Configuration parameters for the upload, including content types, endpoint, bucket name, and credentials.
- Returns:
The updated DataFrame with metadata reflecting uploaded URLs.
- Return type:
pd.DataFrame
- Raises:
Exception – If the upload process encounters an error.