-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: 'type' object is not subscriptable #19
Comments
Hi, can your provide your code examples, here is mine in the tutorial that works: choice = ui.select(options=["Apple", "Banana", "Orange"]) |
Change the version of Python, Python lower than 3.9 doesn't support subscript in function declaration. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
def select_options(options: list[str], x, y, open_status=False, key=None, default_value=None, on_change=None, args=None, kwargs=None):
TypeError: 'type' object is not subscriptable
Unable to use component cos of this error
The text was updated successfully, but these errors were encountered: