tests.system.google.cloud.cloud_functions.example_functions

显示与 Google Cloud Functions 交互的 Airflow DAG 示例。它创建一个函数然后将其删除。

属性

PROJECT_ID

ENV_ID

DAG_ID

LOCATION

SHORT_FUNCTION_NAME

FUNCTION_NAME

SOURCE_ARCHIVE_URL

ENTRYPOINT

RUNTIME

SOURCE_UPLOAD_URL

ZIP_PATH

repo

SOURCE_REPOSITORY

VALIDATE_BODY

body

default_args

deploy_function

test_run

模块内容

tests.system.google.cloud.cloud_functions.example_functions.PROJECT_ID[source]
tests.system.google.cloud.cloud_functions.example_functions.ENV_ID[source]
tests.system.google.cloud.cloud_functions.example_functions.DAG_ID = 'gcp_function'[source]
tests.system.google.cloud.cloud_functions.example_functions.LOCATION = 'europe-west1'[source]
tests.system.google.cloud.cloud_functions.example_functions.SHORT_FUNCTION_NAME = 'hello_world'[source]
tests.system.google.cloud.cloud_functions.example_functions.FUNCTION_NAME = 'projects/Uninferable/locations/europe-west1/functions/hello_world'[source]
tests.system.google.cloud.cloud_functions.example_functions.SOURCE_ARCHIVE_URL = 'gs://airflow-system-tests-resources/cloud-functions/main_function.zip'[source]
tests.system.google.cloud.cloud_functions.example_functions.ENTRYPOINT = 'hello_world'[source]
tests.system.google.cloud.cloud_functions.example_functions.RUNTIME = 'python38'[source]
tests.system.google.cloud.cloud_functions.example_functions.SOURCE_UPLOAD_URL = ''[source]
tests.system.google.cloud.cloud_functions.example_functions.ZIP_PATH = ''[source]
tests.system.google.cloud.cloud_functions.example_functions.repo = ''[source]
tests.system.google.cloud.cloud_functions.example_functions.SOURCE_REPOSITORY = ()[source]
tests.system.google.cloud.cloud_functions.example_functions.VALIDATE_BODY = True[source]
tests.system.google.cloud.cloud_functions.example_functions.body[source]
tests.system.google.cloud.cloud_functions.example_functions.default_args: dict[str, Any][source]
tests.system.google.cloud.cloud_functions.example_functions.deploy_function[source]
tests.system.google.cloud.cloud_functions.example_functions.test_run[source]

此条目是否有帮助?