Subham-KRLX commented on code in PR #64591:
URL: https://github.com/apache/airflow/pull/64591#discussion_r3153222325


##########
providers/zendesk/src/airflow/providers/zendesk/hooks/zendesk.py:
##########
@@ -99,7 +221,7 @@ def search_tickets(self, **kwargs) -> SearchResultGenerator:
         :param kwargs: (optional) Search fields given to the zenpy search 
method.
         :return: SearchResultGenerator of Ticket objects.
         """
-        return self.zenpy_client.search(type="ticket", **kwargs)
+        return self.get_conn().search(type="ticket", **kwargs)

Review Comment:
   The current code already uses self.zenpy_client.search() directly consistent 
with the other methods.
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to