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

add **kwargs to load() for marshmallow-sqlalchemy #111

Merged
merged 5 commits into from
Oct 6, 2020

Conversation

fuhrysteve
Copy link
Contributor

This is particularly to help support polymorphic fields in sqlalchemy
See: #108

This is particularly to help support polymorphic fields in sqlalchemy
See: marshmallow-code#108
@lafrech
Copy link
Member

lafrech commented Mar 17, 2020

Fine with me.

"Normal" marshmallow schemas don't accept kwargs, but since custom schemas may define kwargs (as marshmallow-sqlalchemy do here), I have no objection.

We could make that even clearer in marshmallow by silently swallowing unknown kwargs in load and equivalent methods.

@sloria sloria merged commit 112e96f into marshmallow-code:master Oct 6, 2020
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.

3 participants