Replies: 1 comment 2 replies
-
This seems to work now (although I don't know about the web editor). My version at this time: v1.349.1 Using Using
^^ note that it just hangs there and I needed to interrupt it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How do I define an optional parameter for Python scripts? The form I prefer:
doesn't appear to be recognized by the script parser correctly and shows red squiggles. I'm running the latest I assume (self host setup script)
edit: for reference I also tried Optional[str] from the typing module. It does make it optional but then requires quotes around the string in the input box which I find weird, it should understand it as either completely none, or a valid str. I did notice the ui thinks it's an
object
after using the Optional form.Beta Was this translation helpful? Give feedback.
All reactions