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'
Environment details
google-cloud-firestoreversion: 1.8.0Steps to reproduce
google-cloud-firestorein 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.