Open zystudios opened 9 months ago
Hi! as I see we have to check the following expression if self.advanced_mode: instead a full one
Hi! as I see we have to check the following expression if self.advanced_mode: instead a full one
thanks, I'm guessing that monkey.patch_all made the function execution at the same time, causing self.advanced_mode not to change in time
I have a strange problem.
If I don't use monkey.patch_all, everything works fine
When I use monkey.patch_all in flask, advanced_mode changes to True
I'm calling both methods to get the issue and user.
Getting user returns <Response [200]> not a json.
I traced the source code. then I found in rest_client.py
self.advanced_mode is True, so return is raw format, not json
if I don't use monkey.patch_all, then self.advanced_mode = False
Is this a bug? How do I return the json format, I didn't find a way to set the self.advanced_mode
Thanks very much