web2py / pydal

A pure Python Database Abstraction Layer
BSD 3-Clause "New" or "Revised" License
487 stars 137 forks source link

Google Cloud Platform libraries are out of date #621

Open oittaa opened 4 years ago

oittaa commented 4 years ago

For example Firestore connections look like this:

from google.cloud import firestore
# Project ID is determined by the GCLOUD_PROJECT environment variable
db = firestore.Client()
doc_ref = db.collection(u'users').document(u'alovelace')
doc_ref.set({
    u'first': u'Ada',
    u'last': u'Lovelace',
    u'born': 1815
})

https://cloud.google.com/firestore/docs/quickstart-servers

jparga commented 4 years ago

Yes, and the update is required for deploying py4web in Google Cloud and migrating web2py apps to python3 y Google Cloud https://github.com/web2py/py4web/issues/162

There is a pull request but it is not finished yet, https://github.com/web2py/pydal/pull/624