You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/10/09 07:13:57 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #6279: [AIRFLOW-5609] Add MLEngine models operators

mik-laj commented on a change in pull request #6279: [AIRFLOW-5609] Add MLEngine models operators
URL: https://github.com/apache/airflow/pull/6279#discussion_r332858469
 
 

 ##########
 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:
   This documentation is not complete, but it imitates the style of the other methods. Documentation will update in a separate PR.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services