firebase_admin module

Firebase Admin SDK for Python.

Classes

Functions

delete_app

firebase_admin.delete_app(app)

Gracefully deletes an App instance.

Parameters:

app – The app instance to be deleted.

Raises:

ValueError – If the app is not initialized.

get_app

firebase_admin.get_app(name='[DEFAULT]')

Retrieves an App instance by name.

Parameters:

name – Name of the App instance to retrieve (optional).

Returns:

An App instance with the given name.

Return type:

App

Raises:

ValueError – If the specified name is not a string, or if the specified app does not exist.