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]

这条记录有帮助吗?