使用 LocalFilesystemToGoogleDriveOperator 的範例 DAG。
使用此運算子需要以下額外範圍: https://www.googleapis.com/auth/drive
模組內容
屬性
-
tests.system.google.suite.example_local_to_drive.DAG_ID = 'local_to_drive'[source]
-
tests.system.google.suite.example_local_to_drive.ENV_ID[source]
-
tests.system.google.suite.example_local_to_drive.FILE_NAME_1 = 'test1'[source]
-
tests.system.google.suite.example_local_to_drive.FILE_NAME_2 = 'test2'[source]
-
tests.system.google.suite.example_local_to_drive.CONNECTION_ID[source]
-
tests.system.google.suite.example_local_to_drive.LOCAL_PATH[source]
-
tests.system.google.suite.example_local_to_drive.SINGLE_FILE_LOCAL_PATHS[source]
-
tests.system.google.suite.example_local_to_drive.MULTIPLE_FILES_LOCAL_PATHS[source]
-
tests.system.google.suite.example_local_to_drive.DRIVE_FOLDER[source]
-
tests.system.google.suite.example_local_to_drive.log[source]
-
tests.system.google.suite.example_local_to_drive.create_connection(connection_id)[source]
-
tests.system.google.suite.example_local_to_drive.test_run[source]