@GoogleCloudBaseHook.catch_http_exception<EOL><INDENT>def annotate_image(self, request, retry=None, timeout=None):<DEDENT>
client = self.annotator_client<EOL>self.log.info('<STR_LIT>')<EOL>response = client.annotate_image(request=request, retry=retry, timeout=timeout)<EOL>self.log.info('<STR_LIT>')<EOL>return MessageToDict(response)<EOL>
For the documentation see:
:py:class:`~airflow.contrib.operators.gcp_vision_image_annotator_operator.CloudVisionAnnotateImage`