Giter Site home page Giter Site logo

{{ all_variables.json() }} about pipelines HOT 3 OPEN

c3aw avatar c3aw commented on June 12, 2024
{{ all_variables.json() }}

from pipelines.

Comments (3)

JuhaS avatar JuhaS commented on June 12, 2024

We have been thinking to start using Jinja2 as the templating engine and they just merged a tojson filter two weeks ago. That would allow to do something like {{ all_vars | tojson }} inside an action. We'd still need to add the all_vars parameter but that should be simple.

@c3aw just to be clear what kind of use case do you have in mind? Can you post an example action if you have one?

from pipelines.

c3aw avatar c3aw commented on June 12, 2024

@JuhaS the use case is to submit JSON payloads to REST services. I've submitted a terrible PR that works for me (but does the job nicely). I think a more generic REST action would be great though!

from pipelines.

hunvreus avatar hunvreus commented on June 12, 2024

@JuhaS I think we should extend the webhook plugin to allow webhook actions (with a payload).

from pipelines.

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.