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?
3 Replies
the ui in the image doesn't seem to exist for me, I just see a list of built-in resource when I attempt to customize
we do not support List at the moment, only
list
and you will need to configure it in the generate UI tab. We will add support for typed list and List
soonIssue created: https://github.com/windmill-labs/windmill/issues/2944
GitHub
feature: add support for typed
List
in python · Issue #2944 · win...[MESSAGE_ID=1191247498107441304]