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
Traceback (most recent call last):
File "main.py", line 4, in <module>
doc = db.collection('users').document('test').get()
File "/Users/hkj/Projects/firebase-admin-python/temp/py3/lib/python3.6/site-packages/google/cloud/firestore_v1/collection.py", line 109, in document
return self._client.document(*child_path)
File "/Users/hkj/Projects/firebase-admin-python/temp/py3/lib/python3.6/site-packages/google/cloud/firestore_v1/client.py", line 313, in document
base_path = self._database_string + "/documents/"
File "/Users/hkj/Projects/firebase-admin-python/temp/py3/lib/python3.6/site-packages/google/cloud/firestore_v1/client.py", line 190, in _database_string
self.project, self._database
File "/Users/hkj/Projects/firebase-admin-python/temp/py3/lib/python3.6/site-packages/google/cloud/firestore_v1/gapic/firestore_client.py", line 105, in database_root_path
return google.api_core.path_template.expand(
AttributeError: module 'google.api_core' has no attribute 'path_template'
Seems like the broken bit of code was added in the last release that went out today.
hiranya911
changed the title
Firestore client doesn't work with latest google.api_core
Firestore client v1.8.0 doesn't work with latest google.api_core
Jul 7, 2020
Environment details
google-cloud-firestore
version: 1.8.0Steps to reproduce
google-cloud-firestore
in a fresh virtualenv sandbox.Code example
Stack trace
Issue originally reported in firebase/firebase-admin-python#475 but is easily reproducible without Firebase Admin SDK as well.
The text was updated successfully, but these errors were encountered: