Skip to main content

prefect_gcp.bundles.upload

Functions

upload_bundle_to_gcs

Uploads a bundle file to a GCS bucket. Args:
  • local_filepath: The path to the bundle file to upload.
  • bucket: The name of the GCS bucket to upload the bundle to.
  • key: The key (path) to upload the bundle to in the GCS bucket.
  • gcp_credentials_block_name: The name of the GCP credentials block to use.
Returns:
  • A dictionary containing the bucket and key of the uploaded bundle.

main

Classes

UploadBundleToGcsOutput

The output of the upload_bundle_to_gcs step.