Consolidate get_rendered_task_definitions to helper function in task.py
Add render_task_definitions helper function which takes in generator functions for each code block (or else takes defaults) and renders the task template including generating the task_serialization block.
Change all pipeline integration frameworks to use this.
Fixes LIN-734
Type of change
Please delete options that are not relevant.
[X] Non-Breaking Refactor
How Has This Been Tested?
Assert that snapshot tests did not change.
(Airflow tests have their tasks re-organized in a different order due the removal of a sort, but the file generated is still the same,
Description
Consolidate get_rendered_task_definitions to helper function in task.py
render_task_definitions
helper function which takes in generator functions for each code block (or else takes defaults) and renders the task template including generating thetask_serialization
block.Fixes LIN-734
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Assert that snapshot tests did not change. (Airflow tests have their tasks re-organized in a different order due the removal of a sort, but the file generated is still the same,