klen / mixer

Mixer -- Is a fixtures replacement. Supported Django, Flask, SqlAlchemy and custom python objects.
Other
944 stars 95 forks source link

handle data_key #139

Closed anis-campos closed 3 years ago

anis-campos commented 3 years ago

If the field has a data_key, the blend methods fails as schema.load is expecting a dict where the field is present as defined in data_key. This should fix it

anis-campos commented 3 years ago

@klen any missing info/requirement in this PR ?

klen commented 3 years ago

@anis-campos Some tests to reproduce the issue would be great. Thank you for the PR btw.