How to easily test your Airflow DAGs with the new dag.test() function

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 มี.ค. 2023
  • This “Live with Astronomer” session covers how to use the new `dag.test()` function to quickly test and debug your Airflow DAGs directly in your IDE. Using the `dag.test()` function speeds up iterative development by running tasks in a single, serialized Python process that does not require running Airflow.
    Questions covered in this session include:
    How does the `dag.test()` function work and what version of Airflow do I need to use it?
    What are the prerequisites for the environment I run `dag.test()` in?
    Which operators does `dag.test()` work best with?
    How can I test argument-specific DAG runs with `dag.test()`?
    Learn more about testing and debugging DAGs in this guide (docs.astronomer.io/learn/test...) and in the official Airflow documentation (airflow.apache.org/docs/apach.... All code shown during this event can be found in this repo. (github.com/astronomer/dag-tes...)
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 4

  • @illiakaltovich
    @illiakaltovich 8 หลายเดือนก่อน +1

    Tamara Fingerlinm, your approach of 'Live with an Astronomer' is really cool and organized. I gained some nice insights about the topic I am struggling with. Thank you so much!

    • @Astronomer
      @Astronomer  7 หลายเดือนก่อน

      Thanks so much, Tamara is the best!

  • @bryanpolito8576
    @bryanpolito8576 27 วันที่ผ่านมา

    Gracias

  • @pgrvloik
    @pgrvloik หลายเดือนก่อน

    Great!