You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello shiny_validate team
I am working on a Shiny Python application that uses sequently the enable() and disable() methods of an InputValidator object.
When I call the disable() method after the enable() one, I consistently encounter the following error:
C:\...\Python\Python311\Lib\site-packages\shiny_validate\validator.py:115: RuntimeWarning: coroutine 'SessionProxy.send_custom_message' was never awaited self.__session.send_custom_message("validation-jcheng5", results)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Here is a minimal reproducible example where the described error occurs when the disable button is clicked:
InputValidator.__session.send_custom_message is an async method. In InputValidator.enable() is code, to await this, but in disable() it's missing. IMO this needs to be changed.
Hello shiny_validate team
I am working on a Shiny Python application that uses sequently the
enable()
anddisable()
methods of anInputValidator
object.When I call the
disable()
method after theenable()
one, I consistently encounter the following error:C:\...\Python\Python311\Lib\site-packages\shiny_validate\validator.py:115: RuntimeWarning: coroutine 'SessionProxy.send_custom_message' was never awaited self.__session.send_custom_message("validation-jcheng5", results)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Here is a minimal reproducible example where the described error occurs when the disable button is clicked:
Thank you for your assistance in resolving this issue
The text was updated successfully, but these errors were encountered: