Skip to content

Commit

Permalink
Make a method static
Browse files Browse the repository at this point in the history
  • Loading branch information
apiad committed Jan 27, 2018
1 parent a0ff498 commit 7af8d67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jsonapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ def _extract(self, query, label, parse=False):

return args, query

def _meta_count(self, obj, query):
@staticmethod
def _meta_count(obj, query):
return len(obj)

def _meta_items(self, obj, query):
Expand Down

0 comments on commit 7af8d67

Please sign in to comment.