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

Cache intermediate schema types #98

Merged
merged 2 commits into from Jun 7, 2023
Merged

Conversation

fedorfo
Copy link
Contributor

@fedorfo fedorfo commented Jun 7, 2023

marshmallow-recipe generates the same schema multiple times for a single class, which makes apispec unhappy.

./site-packages/apispec/ext/marshmallow/common.py:139: UserWarning: Multiple schemas resolved
to the name Address. The name has been modified. Either manually add each of the schemas 
with a different name or provide a custom schema_name_resolver.

@fedorfo fedorfo requested a review from a team as a code owner June 7, 2023 21:21
@Pliner Pliner changed the title Feature: cache intermediate schemas Cache intermediate schema types Jun 7, 2023
@Pliner Pliner merged commit 12202f3 into main Jun 7, 2023
7 checks passed
@Pliner Pliner deleted the feature/cache-intermediate-schemas branch June 7, 2023 21:27
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.

None yet

2 participants