lingster/drf-api-tracking

how to convert to dictionary

Closed this issue · 2 comments

so im getting all the logs response and I tried using import json but it does not work since its not literally converted to json. I also tried ast it works if all were string but it will error when it encounters <InMemory...> so any idea how to revert it back? Thank you

have you tried pinning to a previous version?
are you able to share the full errors/code you are using to help investigate further?

ok seems the response data itself had no problem, all photos or files were converted to a link. The problem here was the query or data that had InMemoryUpload and a single quotes. I unsterstand why it does work that way, though is there was any workaround to atleast convert those InMemory to string so I can convert it via ast.