firebase_admin/_utils.py
def _get_initialized_app(app):
    """Returns a reference to an initialized App instance."""
    if app is None:
        return firebase_admin.get_app()

    if isinstance(app, firebase_admin.App):
        initialized_app = firebase_admin.get_app(app.name)
        if app is not initialized_app:
            raise ValueError('Illegal app argument. App instance not '
                             'initialized via the firebase module.')
        return app

    raise ValueError('Illegal app argument. Argument must be of type '
                     ' firebase_admin.App, but given "{0}".'.format(type(app)))
Returns a reference to an initialized App instance.
Returns a reference to an initialized App instance.
Returns a reference to an initialized App instance .
def _get_initialized_app(app):
    if app is None:
        return firebase_admin.get_app()
    if isinstance(app, firebase_admin.App):
        initialized_app = firebase_admin.get_app(app.name)
        if app is not initialized_app:
            raise ValueError('Illegal app argument. App instance not '
                             'initialized via the firebase module.')
        return app
    raise ValueError('Illegal app argument. Argument must be of type '
                     ' firebase_admin.App, but given "{0}".'.format(type(app)))
def _get_initialized_app ( app ) : if app is None : return firebase_admin . get_app ( ) if isinstance ( app , firebase_admin . App ) : initialized_app = firebase_admin . get_app ( app . name ) if app is not initialized_app : raise ValueError ( 'Illegal app argument. App instance not ' 'initialized via the firebase module.' ) return app raise ValueError ( 'Illegal app argument. Argument must be of type ' ' firebase_admin.App, but given "{0}".' . format ( type ( app ) ) )
Returns a reference to an initialized App instance.
Returns a reference to an initialized App instance .
"""Returns a reference to an initialized App instance."""
app