tests.system.google.suite.example_local_to_drive

使用 LocalFilesystemToGoogleDriveOperator 的 DAG 示例。

使用此 operator 需要以下附加范围: https://www.googleapis.com/auth/drive

属性

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

函数

create_connection(connection_id)

模块内容

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 = 'connection_local_to_drive_Uninferable'[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 = 'test_folder_local_to_drive_Uninferable'[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]

此条目是否有帮助?