Skip to content
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

Fix TypeError: 'type' object is not subscriptable #20

Closed
wants to merge 1 commit into from

Conversation

mondwan
Copy link

@mondwan mondwan commented Oct 21, 2024

Syntax of list[], tuple[] are only supported since python3.9. This change makes this code runnable for python3.8

Syntax of list[], tuple[] are only supported since python3.9. This change makes this code runnable for python3.8
@rotemtam
Copy link
Member

@ronenlu if you decide to land this, please make sure we add matrix tests for different python versions to make sure this fix doesn't break other users' apps.

@ronenlu
Copy link
Member

ronenlu commented Oct 22, 2024

@mondwan Thank you for your contribution.

But since python 3.8 is no longer officially supported, I dont think this fix is necessary.

@mondwan
Copy link
Author

mondwan commented Oct 22, 2024

As py3.8 is marked on pyproject.toml, that's that's why I suppose this is a tool for supporting py3.8.

Any suggested py version for running this tool then?

@ronenlu
Copy link
Member

ronenlu commented Oct 22, 2024

As py3.8 is marked on pyproject.toml, that's that's why I suppose this is a tool for supporting py3.8.

Any suggested py version for running this tool then?

You can run with latest py: 3.13

@mondwan
Copy link
Author

mondwan commented Oct 22, 2024 via email

@ronenlu ronenlu closed this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants