python中文文档,Airflow 中文文档:教程

 2023-09-25 阅读 16 评论 0

摘要:本教程将向您介绍一些基本的Airflow概念,对象及其在编写第一个管道时的用法。 示例管道定义 以下是基本管道定义的示例。 如果这看起来很复杂,请不要担心,下面将逐行说明。 """ Code that goes along with the Airflow tutorial located at:

本教程将向您介绍一些基本的Airflow概念,对象及其在编写第一个管道时的用法。

示例管道定义

以下是基本管道定义的示例。 如果这看起来很复杂,请不要担心,下面将逐行说明。

 """
Code that goes along with the Airflow tutorial located at:
https://github.com/apache/incubator-airflow/blob/master/airflow/example_dags/tutorial.py
"""
from airflow import DAG
from airflow.operators.bash_operator import BashOperator
from datetime import datetime , timedeltadefault_args = {'owner' : 'airflow' ,'depends_on_past' : False ,'start_date' : datetime ( 2015 , 6 , 1 ),'email' : [ 'airflow@example.com' ],'email_on_failure' : False ,

阅读全文/改进本文

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/1/96692.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息