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'[源代码]
tests.system.google.suite.example_local_to_drive.ENV_ID[源代码]
tests.system.google.suite.example_local_to_drive.FILE_NAME_1 = 'test1'[源代码]
tests.system.google.suite.example_local_to_drive.FILE_NAME_2 = 'test2'[源代码]
tests.system.google.suite.example_local_to_drive.CONNECTION_ID[源代码]
tests.system.google.suite.example_local_to_drive.LOCAL_PATH[源代码]
tests.system.google.suite.example_local_to_drive.SINGLE_FILE_LOCAL_PATHS[源代码]
tests.system.google.suite.example_local_to_drive.MULTIPLE_FILES_LOCAL_PATHS[源代码]
tests.system.google.suite.example_local_to_drive.DRIVE_FOLDER[源代码]
tests.system.google.suite.example_local_to_drive.log[源代码]
tests.system.google.suite.example_local_to_drive.create_connection(connection_id)[源代码]
tests.system.google.suite.example_local_to_drive.test_run[源代码]

此条目是否有帮助?