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


##########
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:
   Just for consistency with the other methods  all of them go through 
get_conn() Happy to switch to self.zenpy_client directly if that reads better 
to you.



-- 
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