Skip to content

Commit

Permalink
Update resources.py
Browse files Browse the repository at this point in the history
  • Loading branch information
anacarolinats authored and toastdriven committed Jun 1, 2017
1 parent 4efbf1b commit 8553576
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions restless/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def skip_prepare(func):
"""
A convenience decorator for indicating the raw data should not be prepared.
"""
@wraps(func)
def _wrapper(self, *args, **kwargs):
value = func(self, *args, **kwargs)
return Data(value, should_prepare=False)
Expand Down

0 comments on commit 8553576

Please sign in to comment.