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 an issue where in a proper set of documentation, a field_info.annotation can be of type "type" #496

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mmangione
Copy link

This is a PR to fix the following issue:
#492

The except clause of _get_array_outer_type can return field_info.annotation as a list, so the __args__ element is not valid. Check for this type and return the raw element.
The type that is not being properly handled is "type". Odd, for certain, but never an issue before the latest version of BlackSheep.
@mmangione
Copy link
Author

mmangione commented Nov 20, 2024

@RobertoPrevato - Have you thought about appointing some maintainers? Some of these PRs are years old. Many of us want to help this library grow. I personally really like it and I use it extensively. I've deployed dozens of projects using it as a framework.

If you are running out of personal time, please consider letting the community help with the maintenance and upkeep.

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.

1 participant