tests.system.microsoft.azure.example_azure_cosmosdb

這只是一個範例 DAG,用於突顯 AzureCosmosDocumentSensor 的用法,以偵測文件現在是否存在。

您可以使用 airflow dags trigger example_cosmosdb_sensor 手動觸發它。

注意:在執行此範例之前,請確保已正確設定連線 `azure_cosmos_default`。

模組內容

tests.system.microsoft.azure.example_azure_cosmosdb.ENV_ID[原始碼]
tests.system.microsoft.azure.example_azure_cosmosdb.DAG_ID = 'example_azure_cosmosdb_sensor'[原始碼]
tests.system.microsoft.azure.example_azure_cosmosdb.t1[原始碼]
tests.system.microsoft.azure.example_azure_cosmosdb.test_run[原始碼]

這個條目是否有幫助?