WindmillWWindmill
Powered by
BoatyMcBoatFaceB
Windmill•2y ago•
4 replies
BoatyMcBoatFace

How to access returned values in an external script.

I know this is probably very basic but I'm a newbie and I spent hours trying to get it to work yesterday. I have created a very simple workflow which I want to call from an external python script, and have that same python script process the response.

All works fine... the python script shows a 201 response and print (response.text) shows the job_id. But I cannot work out how to access, in the calling python script, the json returned by the Windmill workflow.

Can anyone help please?
windmill.jpg
python_script.jpg
WindmillJoin
3,362Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Script to hub: How to pass in Ressources?
gsloneGgslone / help
2y ago
Access Resources and Variables in Windmill Rust Script
David LinDDavid Lin / help
10mo ago
Proxy for external Internet access ignored
FrinkemonFFrinkemon / help
2y ago
How to control a Database studio component using an external button
NehsikNNehsik / help
2y ago