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 getattr default #192

Merged
merged 3 commits into from Mar 16, 2021
Merged

Conversation

denisovkv
Copy link
Contributor

Closes #191

@stale
Copy link

stale bot commented Jan 17, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is incorrect, please respond with an update. Thank you for your contributions.

@stale stale bot added the stale label Jan 17, 2021
@artcg
Copy link
Contributor

artcg commented Mar 12, 2021

This could give unexpected behaviour if any other class there had an empty slots, so I would say better to filter out the key that starts with _ inside the inner dict comprehension and let it crash still if that case happens with the empty slots, thoughts?

@stale stale bot removed the stale label Mar 12, 2021
Copy link
Contributor

@artcg artcg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome :) looks good to merge

@ahopkins ahopkins merged commit b5db65e into sanic-org:master Mar 16, 2021
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.

sanic_openapi AttributeError: __abstractmethods__
3 participants