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 the error when inspect the typing annotations #177

Merged
merged 2 commits into from
Jul 19, 2024

Commits on Jul 17, 2024

  1. Fix #175

    The previous code has the assumption that all type hints which have an __origin__ attribute also possess an _name attribute. This is not true for certain built-in generic types like list, dict, etc. in Python, particularly when accessed via the __origin__ attribute, which is a legacy of Python's type hinting evolution.
    superstar54 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e49393c View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Ensure compatibility across different Python versions by handling pot…

    …ential None values more gracefully.
    superstar54 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    a24f271 View commit details
    Browse the repository at this point in the history