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 2020/08/07 15:54:15 UTC

[GitHub] [airflow] coopergillan commented on a change in pull request #10222: Add labels param to Google MLEngine Operators

coopergillan commented on a change in pull request #10222:
URL: https://github.com/apache/airflow/pull/10222#discussion_r467125875



##########
File path: airflow/providers/google/cloud/operators/mlengine.py
##########
@@ -1057,6 +1069,9 @@ def execute(self, context):
             self.log.info('MLEngine Training job request is: %s', training_request)
             return
 
+        if self._labels:
+            training_request['trainingInput']['labels'] = self._labels

Review comment:
       Thanks for the links. I will take a look and come back with some changes.




----------------------------------------------------------------
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