tests.system.google.cloud.translate.example_translate_glossary
一个示例 Airflow DAG,用于使用 Google Cloud 中的 V3 API 版本服务在 Google Cloud Translate 中翻译文本。
模块内容
-
tests.system.google.cloud.translate.example_translate_glossary.DAG_ID = 'translate_glossary'[source]
-
tests.system.google.cloud.translate.example_translate_glossary.PROJECT_ID[source]
-
tests.system.google.cloud.translate.example_translate_glossary.ENV_ID[source]
-
tests.system.google.cloud.translate.example_translate_glossary.REGION = 'us-central1'[source]
-
tests.system.google.cloud.translate.example_translate_glossary.RESOURCE_DATA_BUCKET = 'airflow-system-tests-resources'[source]
-
tests.system.google.cloud.translate.example_translate_glossary.GLOSSARY_FILE_INPUT[source]
-
tests.system.google.cloud.translate.example_translate_glossary.UPDATE_GLOSSARY_FILE_INPUT[source]
-
tests.system.google.cloud.translate.example_translate_glossary.create_glossary[source]
-
tests.system.google.cloud.translate.example_translate_glossary.test_run[source]