For Express apps, confusing error if input.x
is accessed without importing input
#991
Milestone
input.x
is accessed without importing input
#991
If the app tries to access
input
without importing it fromshiny.express
, it prints the following confusing error message:Example app:
This is because
input
is a builtin function in Python, but it doesn't have an attribute namedx
. So although the error is correct, it is a bit confusing.I think that while evaluating the code, we could inject a different object named
input
that will result in a better error message.The text was updated successfully, but these errors were encountered: