coufon commented on a change in pull request #4791:  [AIRFLOW-3908] Add more 
Google Cloud Vision operators
URL: https://github.com/apache/airflow/pull/4791#discussion_r261363540
 
 

 ##########
 File path: airflow/contrib/hooks/gcp_vision_hook.py
 ##########
 @@ -157,17 +162,12 @@ def get_product_set(
         client = self.get_conn()
         name = ProductSearchClient.product_set_path(project_id, location, 
product_set_id)
         self.log.info('Retrieving ProductSet: %s', name)
-        response = self._handle_request(
-            lambda **kwargs: client.get_product_set(**kwargs),
-            name=name,
-            retry=retry,
-            timeout=timeout,
-            metadata=metadata,
-        )
+        response = client.get_product_set(name=name, retry=retry, 
timeout=timeout, metadata=metadata)
 
 Review comment:
   nit: maybe looks nicer to keep function arguments in the same layout, in row 
or column.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to