Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyResponse(Response):
- def __init__(self, response, **kwargs):
- import json
- my_response = json.dumps({
- "status": "success",
- "data": json.loads(response)
- })
- return super().__init__(response, **kwargs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement