Aster
Aster

Reputation: 233

Why did Google remove Image API for App Engine running Python 3.7?

I am using Google Cloud Storage and I want to serve scaled images from it, Python 2 version of Google App Engine supported it via Images API but with Python3, they removed that API.

https://cloud.google.com/appengine/docs/standard/python3/python-differences

Cannot understand the intension behind removing such an import feature, upgrading to Python3 in Google Cloud environment sounds like a downgrade to me.

Upvotes: 2

Views: 1053

Answers (2)

Mansi Karan
Mansi Karan

Reputation: 1

Seems like Google is planning on adding it back to Python 3:

https://cloud.google.com/appengine/docs/standard/python3/services/access

To reduce runtime migration complexity, Google Cloud now supports a set of App Engine bundled services and their associated APIs on second-generation runtimes, which include Python 3, Java 11, and Go 1.12 or higher. Your app can call bundled services APIs for second-generation runtimes through language-idiomatic libraries.

Upvotes: 0

ericcco
ericcco

Reputation: 776

As you said, the proprietary App Engine APIs are not available in Python3.7. The main reason is because GCP is unbundling App Engine and now, you are no longer dependent on these APIs.

Currently, there are some third parties alternative solutions. In your specific case, and based on GCP documentation, I think that you can try to use Imgix or Rethumb.

Upvotes: 1

Related Questions