GithubHelp home page GithubHelp logo

Comments (4)

daBlesr avatar daBlesr commented on September 26, 2024 1

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.

szczeles avatar szczeles commented on September 26, 2024

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.

daBlesr avatar daBlesr commented on September 26, 2024

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.

szczeles avatar szczeles commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.