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
File "pyscript/event_handling.py", line 27, in decorator
ImportError: no module named 'pyweb'
I took a look at the relevant file and it looks like there's a logic fork for non-string selectors on when, which isn't supported in Micropython.
The docs don't make that clear, however.
What browsers are you seeing the problem on? (if applicable)
No response
Console info
PythonError: Traceback (most recent call last):
File "<stdin>", line 6, in<module>
File "x/application.py", line 10, in<module>
File "x/application.py", line 45, in Application
File "pyscript/event_handling.py", line 27, in decorator
ImportError: no module named 'pyweb'
### Additional Context
_No response_
The text was updated successfully, but these errors were encountered:
Checklist
What happened?
It seems that although you guys support
pyscript.when
with Micropython, it does not support passing a non-string element. For example:This results in an ImportError:
I took a look at the relevant file and it looks like there's a logic fork for non-string selectors on when, which isn't supported in Micropython.
The docs don't make that clear, however.
What browsers are you seeing the problem on? (if applicable)
No response
Console info
The text was updated successfully, but these errors were encountered: