catalog_data_source.

staging_upload

staging_upload(csv_file: Path) -> str

Upload a CSV file to the staging area.

Parameters

nametypedescription
csv_filePathPath to the CSV file to upload.

Returns

typedescription
strLocation string referencing the uploaded file in staging.

Example

from pathlib import Path

# Upload a CSV file to staging
location = sdk.catalog_data_source.staging_upload(csv_file=Path("data.csv"))