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
IIRC, it's to prevent having to know which fields require custom, manual conversion. Manual conversion means it has to be maintained when things change, and you can get it wrong. Encoders just know. Flask has a few built-in encoders for common types, but it doesn't know about numpy. IIRC. Should have recorded this all in the original issue.
There is ample documentation on how to extend the Flask JSON encoder to handle numpy, but it didn't seem to work. Cowboy up.
The text was updated successfully, but these errors were encountered: