Skip to content

Commit

Permalink
updated log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
somethingmorerelevant committed Jan 27, 2025
1 parent e71d26d commit f0d794c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tap_shopify/streams/metafields.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def get_resource_type_query(self, resource):

@shopify_error_handling
def call_api(self, query_params, query, data_key):
LOGGER.info("Fetching %s %s", self.name, query_params)
response = shopify.GraphQL().execute(query=query, variables=query_params)
response = json.loads(response)
if "errors" in response.keys():
Expand Down Expand Up @@ -106,8 +105,6 @@ def get_parents(self):
query_params = self.get_query_params(last_updated_at, query_end, cursor)
query = get_parent_ids_query(parent)
data = self.call_api(query_params, query, parent)
LOGGER.info("%s : %s", parent, len(data.get("edges")))

for edge in data.get("edges"):
yield (edge.get("node"), resource_alias)

Expand Down

0 comments on commit f0d794c

Please sign in to comment.