firebase_admin.firestore_async module

Cloud Firestore Async module.

This module contains utilities for asynchronusly accessing the Google Cloud Firestore databases associated with Firebase apps. This requires the google-cloud-firestore Python module.

Functions

client

firebase_admin.firestore_async.client(app: App = None) AsyncClient

Returns an async client that can be used to interact with Google Cloud Firestore.

Parameters:

app – An App instance (optional).

Returns:

A Firestore Async Client.

Return type:

google.cloud.firestore.Firestore_Async

Raises:

ValueError – If a project ID is not specified either via options, credentials or environment variables, or if the specified project ID is not a valid string.