You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fails in a few ways. clean_data will be called, but actually will receive the first item in the array, since map accepts *args. Even if the array was passed through, it will not work b/c array doesn't have a .items() method. I think a safer implementation would be something like
https://github.com/coleifer/flask-peewee/blob/0.6.5/flask_peewee/serializer.py#L25
This fails in a few ways. clean_data will be called, but actually will receive the first item in the array, since map accepts
*args
. Even if the array was passed through, it will not work b/c array doesn't have a.items()
method. I think a safer implementation would be something likeThe text was updated successfully, but these errors were encountered: