]> git.cworth.org Git - turbot/commit
Add a handler for multi_static_select input
authorCarl Worth <cworth@cworth.org>
Fri, 1 Jan 2021 01:53:29 +0000 (17:53 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 1 Jan 2021 05:46:27 +0000 (21:46 -0800)
commit7a68a1c7360a30d046d9e415dd3ab6294db97173
treeb5841fbace3780cd43d23b3288aec6fa530754b3
parent07760b779456872d9a8327065405a69246a8c511
Add a handler for multi_static_select input

The documentation of the multi_static_select input block wasn't clear
that it would trigger a call to an event handler, but apparently it does.

We don't currently impose any restrictions on what a user selects,
(any combination of rounds is valid), so we simply return a lamba_ok
value for any selection. This prevents the user from seeing a warning
sign in the dialog (where hovering over it would say that the callback
returned 502).
turbot/interaction.py
turbot_lambda/turbot_lambda.py