Comments (4)
Actually, after more investigation, I was able to do this by adding an entry params
in the list on macro params specification.
from kedro-airflow-k8s.
Take a look here: https://github.com/getindata/kedro-airflow-k8s/blob/0.8.0/kedro_airflow_k8s/config.py#L93 - this parameter allows you to specify list of airflow variables that are pushed as Kedro parameters
from kedro-airflow-k8s.
That works indeed for fixed variables in Airflow. In this case, I'd like to run a DAG with specific variables only for that single DAG run. That is a different thing and is not picked up.
from kedro-airflow-k8s.
That's right, the config provided during "trigger dag" operation is not used. If you have free time, feel free to create a PR. I'd plug here: https://github.com/getindata/kedro-airflow-k8s/blob/0.8.0/kedro_airflow_k8s/airflow_dag_template.j2#L303 with:
- static list of possible configs provided in the config file
- for loop in the template, using dag_run.conf to get the values
It's not the best way, as the user can't explicitly override any parameter without the static list of possible lookups. Maybe during implementation you will find a better solution!
from kedro-airflow-k8s.
Related Issues (20)
- Make it possible to override Kedro parameters when triggering run HOT 1
- kedro-airflow-k8s does not support KEDRO_ENV
- Compile step broken with kedro==0.18.0 HOT 3
- Add support for --dag-name flag to schedule step.
- Ensure pipeline works when git not initialized
- Fix typo in docs/03_getting_started/01_quickstart.md HOT 1
- Replace hardcoded '/opt' in project_path in spark job with PROJECT_HOME env HOT 1
- ValueError: Failed to format pattern '${xxx}': no config value found, no default provided HOT 6
- Add custom script injection to airflow_spark_task_template HOT 1
- Invalid status in Mlflow during pipeline execution
- feature request: Group kedro nodes in same DAG task
- Update kedro dependencies HOT 1
- Add support for python 3.9 and 3.10
- Set up Dependabot and CodeQL
- Update kfp dependencies HOT 1
- Add ability to specify service accounts and imagePullSecrets to run the pipeline with
- Invalid configuration generated by `kedro airflow-k8s init` HOT 3
- kedro-airflow-k8s[gcp] depends on nonexistent library HOT 2
- Authentication to MLFlow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kedro-airflow-k8s.