WindmillWWindmill
Powered by
NackiN
Windmill•3y ago•
3 replies
Nacki

Python script parameter types confusion

Given a script parameter like this: "input_files: List[S3Object]" where S3Object comes from the "wmill" package,
the parameter is set as an "object" in the windmill ui, but is an array of a type.
Trying to follow "https://www.windmill.dev/docs/script_editor/customize_ui", the UI on the script editor on app.windmill.dev is completely different with the "Customize" button not existing, but rather "Diff, Settings, Save Draft, Deploy" are the visible options. Under settings, there is a "Generated UI" tab and a customize option below, but it's also completely different than what is shown in the docs.

How do I make wmill python script parameters respect the type set in the UI?
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
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

Python script custom return types
ggpeppGggpepp / help
5mo ago
Weird script python problem
Elber DomingosEElber Domingos / help
16mo ago
Logging in Python Script
Alexander EiseleAAlexander Eisele / help
2y ago
Cannot run any script Python / TS
KirellKKirell / help
17mo ago