From 4627ee9ee45d01213e5d23cceb142d72bf624b99 Mon Sep 17 00:00:00 2001 From: Edwin Liu Date: Sat, 16 Dec 2023 01:18:56 +1100 Subject: [PATCH] Add missing return type for firebase_admin.firestore.client() firestore.client() should have return type google.cloud.firestore.Client --- firebase_admin/firestore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firebase_admin/firestore.py b/firebase_admin/firestore.py index 32c9897d5..224ba3aeb 100644 --- a/firebase_admin/firestore.py +++ b/firebase_admin/firestore.py @@ -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: