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

Fixed AttributeError: object of class Schema has no attribute fields #11482

Merged
merged 1 commit into from
Jan 18, 2023
Merged

Fixed AttributeError: object of class Schema has no attribute fields #11482

merged 1 commit into from
Jan 18, 2023

Conversation

abhi1693
Copy link
Member

Fixes: #11433

The custom inspector assumes that get_request_serializer() always return a serializer but it can sometimes be Schema

@jeremystretch jeremystretch merged commit 426bc15 into netbox-community:develop Jan 18, 2023
@jeremystretch
Copy link
Member

Thanks @abhi1693!

@abhi1693 abhi1693 deleted the fix/custom-inespector branch January 18, 2023 06:18
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: object of class Schema has no attribute fields
2 participants