exciting! thanks for the heads up, andrew. do you have a recommended way to unit test code that uses this library? i'm looking at migrating a few existing GAE python 2 apps with unit tests that use testbed, https://cloud.google.com/appengine/docs/standard/python/tools/localunittesting, which is great. are there plans for anything similar for google-cloud-ndb? i could try hooking up the cloud datastore emulator, but that seems pretty heavy for unit tests...? alternatively, i could mock out all of my code's datastore interactions, but that would be a substantial lift.
On Thursday, September 19, 2019 at 2:33:38 PM UTC-7, Andrew Gorcester wrote: > > Hello Pythonistas, > > I'm pleased to announce the Beta release of Cloud NDB, an updated version > of the App Engine NDB client library for Datastore to support the GAE > Python 3 runtime and other Python platforms. Our goal with Cloud NDB and > related efforts is to ensure App Engine Python 2.7 applications are fully > portable and can smoothly migrate to Python 3. > > The library can be installed with `pip install google-cloud-ndb` and the > source code can be found at https://github.com/googleapis/python-ndb. > Please refer to our newly published migration guide at > https://cloud.google.com/appengine/docs/standard/python3/migrating-to-cloud-ndb, > > and our API documentation at > https://googleapis.dev/python/python-ndb/latest/index.html. > > We're grateful to have received generous user support in testing, > comments, bug reports and even code contributions in our Alpha phase, and > we hope the community will continue to send feedback as we work towards GA. > Please see our GitHub repository linked above to follow development and > communicate with our team, or email me directly at gorc...@google.com > <javascript:>. > > While Cloud NDB can be used freely by any Cloud Datastore (and Firestore > in Datastore mode) customers, it is intended to facilitate migration to > Python 3 for App Engine NDB users; our recommendation for new apps is still > to use the Cloud Client Datastore or Firestore libraries which are part of > the Google Cloud SDK. > > Thanks for your continued support of our platform. I am looking forward to > hearing from the community on this and upcoming efforts. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f0015fc7-5d8c-4b5f-8228-c93af37c2f29%40googlegroups.com.