sassoftware / sas-airflow-provider

Apache Airflow Provider for creating tasks in Airflow to execute SAS Studio Flows and Jobs.
Apache License 2.0
18 stars 15 forks source link

Feature Request: Templating #10

Closed mjerick25 closed 1 year ago

mjerick25 commented 1 year ago

Airflow provides the XCom mechanism to communicate small amounts of data between tasks. In order to move data from one task to a Studio Flow or Job Execution, we could enable templating for the Operator parameters. For the SASJobExecutionOperator, the "parameters" parameter could be templated and for the SASStudioFlowOperator, the "env_vars" parameter could be templated.

This would enable sas-airflow-provider users to use templated values for those two parameters, meaning that data could be passed from one task into a sas-airflow-provider task, then into the Studio Flow or Job Execution via the "env_vars" or "parameters" parameter.

mjerick25 commented 1 year ago

Templating added in #11 and published in version 0.0.3.