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
I need to be able to serialize the tags dictionary into a format ingestible by mongodb e.g. JSON. Right now all the tags are of <type 'instance'> though.
PIL's image._getexif() does this - while also preserving types such as float, int, bool etc.
Are you able to assist?
Excellent package of course - for which many thanks.
The text was updated successfully, but these errors were encountered:
I had actually started work on this a while ago, the main problem is not breaking backwards compatibility. The code is a bit hairy on this. You could do a split on the first space in the tag dict...
I had actually started work on this a while ago, the main problem is not breaking backwards compatibility. The code is a bit hairy on this. You could do a split on the first space in the tag dict...
Problem isn't the keys but the values, as they are instances and pymongo doesn't know how to handle them.
I need to be able to serialize the tags dictionary into a format ingestible by mongodb e.g. JSON. Right now all the tags are of <type 'instance'> though.
PIL's image._getexif() does this - while also preserving types such as float, int, bool etc.
Are you able to assist?
Excellent package of course - for which many thanks.
The text was updated successfully, but these errors were encountered: