You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if I bite the bullet and upgrade my code to Python 3 (using this new NDB library), will I face the same issue? Or is there another/newer method for decorating my endpoints & generating the Swagger spec??
Python 2.7 has reached end of life status, so migrating to Python 3 is a good idea if you have that possibility. I looked at the old endpoints library, and it was explicitly not migrated to Python 3 after an initial attempt was reverted (cloudendpoints/endpoints-management-python#46). I checked and the code is still not Python 3 compatible, so I don't think it will ever be.
Thanks for looking into this!! The reason we used Endpoints is to decorate our server API surface and then we auto-generate the client libraries to communicate with that API. Unless I misunderstand ESP, I don't think it provides that feature. Without that, we'd have to go back to hand-coding all of our API's and that would force replacing a bunch of existing code. I did see that NDB has been migrated to Py3 which will be a big help, but I'm still at a loss for how to preserve our generation of Swift/Dart clients. All feedback or ideas welcome. Thanks again!
I'm sorry that there's not much that we can do to help you solve your problem. You could consider forking the endpoints library, making the version change, and using that in your code instead of the old one.
Closing this, since it's not really related to NDB.
My GAE Std app is currently in Python2.7 & we also use OpenAPI to generate our clients
But I'm facing this version conflict with the old Endpoints library.
I'm wondering if I bite the bullet and upgrade my code to Python 3 (using this new NDB library), will I face the same issue? Or is there another/newer method for decorating my endpoints & generating the Swagger spec??
Thanks for any tips you can provide!!
cloudendpoints/endpoints-management-python#72
The text was updated successfully, but these errors were encountered: