Skip to content

Commit

Permalink
made requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shivam05011996 committed Jan 22, 2019
1 parent d690069 commit de70ef4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kwikapi/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ def should_wrap():
kwikapi will wrap the response as -
{success: value, result: value}
This is applicable to all the protocols,
except the raw protocol
This method, can used in above situation,
if no wrapping is required,
override this method in the protocol class.
'''
return True

Expand Down

0 comments on commit de70ef4

Please sign in to comment.