potiuk commented on a change in pull request #6279: [AIRFLOW-5609] Add MLEngine
models operators
URL: https://github.com/apache/airflow/pull/6279#discussion_r332888179
##########
File path: airflow/gcp/hooks/mlengine.py
##########
@@ -275,3 +275,33 @@ def get_model(self, project_id: str, model_name: str) ->
Optional[Dict]:
self.log.error('Model was not found: %s', e)
return None
raise
+
+ def delete_model(self, project_id: str, model_name: str, delete_contents:
bool = False) -> None:
+ """
+ Delete a Model. Blocks until finished.
Review comment:
Fine!
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services