David Volquartz Lebech created AIRFLOW-2291:
-----------------------------------------------
Summary: Ability to specify runtimeVersion and pythonVersion in ML
Engine operator
Key: AIRFLOW-2291
URL: https://issues.apache.org/jira/browse/AIRFLOW-2291
Project: Apache Airflow
Issue Type: Improvement
Components: contrib, gcp
Affects Versions: Airflow 2.0, Airflow 1.8, Airflow 1.9.0
Reporter: David Volquartz Lebech
For the Google Cloud ML Engine Training Operator (in {{contrib}}), the [current
list of
arguments|https://github.com/apache/incubator-airflow/blob/b918a4976a641a3c944ef4ad4323fe25bd219ea0/airflow/contrib/operators/mlengine_operator.py#L538-L544]
does not seem to include the option for specifying runtime and Python version
which limits execution to Python 2.7.
It seems that simply adding {{runtimeVersion}} and {{pythonVersion}} to the
list would be enough to make this work, according to [the documentations on ML
engine|https://cloud.google.com/ml-engine/docs/tensorflow/versioning#set-python-version-training].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)