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_r261360986
##########
File path: airflow/contrib/hooks/gcp_vision_hook.py
##########
@@ -354,3 +307,140 @@ def _get_autogenerated_id(response):
if '/' not in name:
raise AirflowException('Unable to get id from name...
[{}]'.format(name))
return name.rsplit('/', 1)[1]
+
+ @GoogleCloudBaseHook.catch_http_exception
+ @GoogleCloudBaseHook.fallback_to_default_project_id
+ def create_reference_image(
Review comment:
Maybe it is nicer to have the same layout for all function argument
definitions? i.e., rows or a 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