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

Marshmallow validate not working when using data_key #93

Open
prusayn opened this issue Dec 4, 2019 · 1 comment
Open

Marshmallow validate not working when using data_key #93

prusayn opened this issue Dec 4, 2019 · 1 comment
Assignees

Comments

@prusayn
Copy link

prusayn commented Dec 4, 2019

I tried to use data_key for Marshmallow fields, because I receive data from dynamoDB with camel case names. When I run validate() on model then it show me that it can't find required field (fields with data_key were required). It's funny because I can see variables in model object.

@borgstrom
Copy link
Contributor

Can you please share example code that shows your Model and how you are loading & querying data? It will better help understand what's not working as you expect.

@borgstrom borgstrom self-assigned this Feb 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

No branches or pull requests

2 participants