tests.system.papermill.example_papermill_verify

此 DAG 將使用 Papermill 執行名為 “hello_world” 的 notebook,根據邏輯日期,它將建立一個輸出 notebook,檔名格式為 “out-<date>”。所有欄位,包括引數中的鍵,都支援模板化。

屬性

START_DATE

SCHEDULE_INTERVAL

DAGRUN_TIMEOUT

ENV_ID

DAG_ID

run_this

test_run

函式

check_notebook(output, logical_date)

驗證 notebook 中的訊息

模組內容

tests.system.papermill.example_papermill_verify.START_DATE[source]
tests.system.papermill.example_papermill_verify.SCHEDULE_INTERVAL = '0 0 * * *'[source]
tests.system.papermill.example_papermill_verify.DAGRUN_TIMEOUT[source]
tests.system.papermill.example_papermill_verify.ENV_ID[source]
tests.system.papermill.example_papermill_verify.DAG_ID = 'example_papermill_operator_verify'[source]
tests.system.papermill.example_papermill_verify.check_notebook(output, logical_date)[source]

驗證 notebook 中的訊息

tests.system.papermill.example_papermill_verify.run_this[source]
tests.system.papermill.example_papermill_verify.test_run[source]

這條記錄有幫助嗎?