tests.system.google.suite.example_local_to_drive

使用 LocalFilesystemToGoogleDriveOperator 的範例 DAG。

使用此運算子需要以下額外範圍: https://www.googleapis.com/auth/drive

模組內容

函數

create_connection(connection_id)

屬性

DAG_ID

ENV_ID

FILE_NAME_1

FILE_NAME_2

CONNECTION_ID

LOCAL_PATH

SINGLE_FILE_LOCAL_PATHS

MULTIPLE_FILES_LOCAL_PATHS

DRIVE_FOLDER

log

test_run

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]

這個條目對您有幫助嗎?