appengine-pipelines icon indicating copy to clipboard operation
appengine-pipelines copied to clipboard

Python: Bad target when running in development environments

Open jaybaker opened this issue 4 years ago • 0 comments

Deployment of App Engine resources dictates that a version is no longer specified in app.yaml. As a consequence of this, attempts to get the current version via os.environ["CURRENT_VERSION_ID"] return "None." and extracting the None yields a bad target.

The solution is to conditionally use the version in the task target.

jaybaker avatar Oct 30 '20 16:10 jaybaker