Airflow Summit 2025 is coming October 07-09. Register now to secure your spot!

tests.system.google.cloud.transfers.example_gcs_to_sftp

Example Airflow DAG for Google Cloud Storage to SFTP transfer operators.

Attributes

ENV_ID

PROJECT_ID

DAG_ID

SFTP_CONN_ID

BUCKET_NAME

DESTINATION_PATH_1

DESTINATION_PATH_2

DESTINATION_PATH_3

UPLOAD_SRC

GCS_SRC_FILE_IN_DIR

GCS_SRC_DIR

UPLOAD_IN_DIR_DST

create_bucket

test_run

Module Contents

tests.system.google.cloud.transfers.example_gcs_to_sftp.ENV_ID[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.PROJECT_ID[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.DAG_ID = 'gcs_to_sftp'[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.SFTP_CONN_ID = 'ssh_default'[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.BUCKET_NAME = 'bucket_gcs_to_sftp_Uninferable'[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.DESTINATION_PATH_1 = '/tmp/single-file/'[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.DESTINATION_PATH_2 = '/tmp/dest-dir-1/'[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.DESTINATION_PATH_3 = '/tmp/dest-dir-2/'[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.UPLOAD_SRC = ''[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.GCS_SRC_FILE_IN_DIR = 'dir-1/empty.txt'[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.GCS_SRC_DIR = 'dir-2/*'[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.UPLOAD_IN_DIR_DST = 'dir-2/empty.txt'[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.create_bucket[source]
tests.system.google.cloud.transfers.example_gcs_to_sftp.test_run[source]

Was this entry helpful?