Refactoring a Python 2 Cloud NDB app to Python 3 & Cloud Firestore (Module 9)

Module 9 resources:
Codelab →
Python 2 START (“mod8”) code →
Python 3 FINISH (“mod9”) code →

Serverless Migration Station is a Serverless Expeditions mini-series, designed to help developers modernize their applications to run on a Google Cloud serverless compute platform. In this third and final episode covering App Engine push queues, Google engineers Martin & Wesley refactor and rewrite a Python 2 Cloud NDB app already migrated to Cloud Tasks as a Python 3 app that uses Cloud Firestore. All three of these migrations are optional, so this represents a more realistic example involving more updated and added code than the samples featured in other episodes.

0:00 Introduction
2:57 Updates to configuration
5:12 Application updates
8:49 Wrapping up the migration
9:51 Summary and references

Other Migration Module references:
All “Serverless Migration Station” resources →
Migrating to Python 3 documentation →
Migration Module 8 “App Engine push tasks to Cloud Tasks” codelab →
Migration Module 8 “App Engine push tasks to Cloud Tasks” video →
Migration Module 6 “Cloud Firestore: switching from Datastore to Native mode” codelab →

App Engine Task Queue and Cloud Tasks references:
App Engine Task Queues overview →
App Engine Push Tasks →
Migrating App Engine Push Queues to Cloud Tasks →

Cloud Tasks client library →
Cloud Tasks documentation →
Differences between App Engine Task Queues and Cloud Tasks →

Cloud NDB and Cloud Firestore references:
Cloud NDB client library →
Cloud Firestore client library →
Cloud Firestore documentation →

Check out more episodes of Serverless Expeditions →

Subscribe to Google Cloud Tech →
Subscribe to Google Developers →


product: Cloud – Migration – Migrate for Compute Engine; fullname: Wesley Chun, Martin Omander;

Duration: 00:12:23
Publisher: Google Cloud
You can watch this video also at the source.

Inxy Hosting CDN Marketplace