Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Problem you have encountered:
When running a batch prediction job it runs using Python 2, in [1] is mentioned that "Python 3.5 is available for online prediction.", but not for batch predictions.
What you expected to happen:
Get the feature to support Python 3.5 for batch predictions.
Steps to reproduce:
If you try to specify the Python version in the request :
body = {
'jobId': job_id,
'predictionInput': {
'dataFormat': data_format,
'inputPaths': input_paths,
'outputPath': output_path,
'region': region,
'runtimeVersion': '1.14',
'uri': 'gs://BUCKET/',
'pythonVersion': '3.5'
}
}
Errors like [2] appears and is not possible to run the job, which indicates that is not possible to specify the Python version in the request.
[1]
[2] Invalid JSON payload received. Unknown name "pythonVersion" at 'job.prediction_input': Cannot find field.