kedro-plugins
kedro-plugins copied to clipboard
kedro-airflow: implement @task and @dag decorators in DAG, generated by plugin
Description
Following the investigation done in #25:
We will implement the @task and @dag decorators from the TaskFlow API into the DAG generated by the kedro-airflow plugin from the Kedro project. This implementation will:
- Make the DAG code shorter and cleaner.
- Allow us to move away from using
KedroOperator, simplifying the user experience and addressing Kedro plugins issue #482. - Demonstrate our commitment to keeping up with current best practices and open the way for potentially more extensive use of TaskFlow in the future.
Possible Implementation
Modify airflow_dag_template.j2 accordingly
This seems contradicts to the conclusion of https://github.com/kedro-org/kedro-plugins/issues/25?
@noklam We discussed a bit more and decided to adopt certain aspects of the TaskFlow Api for now.