Skip to content

Commit

Permalink
Added page_size, query private
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Shutik committed Oct 30, 2024
1 parent 5591f62 commit 8005cf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shopify_client/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def __build_url(self, **params):
def __call__(self, *args, **kwargs):
return self.__query(*args, **kwargs)

def __query(self, query, variables=None, operation_name=None, paginate=False):
def __query(self, query, variables=None, operation_name=None, paginate=False, page_size=100):
if paginate:
return self.__paginate(query, variables, operation_name)
return self.__paginate(query, variables, operation_name, page_size)
try:
response = self.client.post(
self.__build_url(),
Expand Down

0 comments on commit 8005cf8

Please sign in to comment.