Skip to content

Commit

Permalink
Add missing return type for firebase_admin.firestore.client() (#747)
Browse files Browse the repository at this point in the history
firestore.client() should have return type google.cloud.firestore.Client

Co-authored-by: Lahiru Maramba <llahiru@gmail.com>
  • Loading branch information
wliumelb and lahirumaramba authored Dec 20, 2023
1 parent 7a9dfa0 commit 3c39186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firebase_admin/firestore.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
_FIRESTORE_ATTRIBUTE = '_firestore'


def client(app=None):
def client(app=None) -> firestore.Client:
"""Returns a client that can be used to interact with Google Cloud Firestore.
Args:
Expand Down

0 comments on commit 3c39186

Please sign in to comment.