Skip to content

Commit 3c39186

Browse files
Add missing return type for firebase_admin.firestore.client() (#747)
firestore.client() should have return type google.cloud.firestore.Client Co-authored-by: Lahiru Maramba <[email protected]>
1 parent 7a9dfa0 commit 3c39186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase_admin/firestore.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
_FIRESTORE_ATTRIBUTE = '_firestore'
3535

3636

37-
def client(app=None):
37+
def client(app=None) -> firestore.Client:
3838
"""Returns a client that can be used to interact with Google Cloud Firestore.
3939
4040
Args:

0 commit comments

Comments
 (0)