firebase / firebase-admin-python

Firebase Admin Python SDK
https://firebase.google.com/docs/admin/setup
Apache License 2.0
988 stars 300 forks source link

feat: add is_app_initialized function (#701) #780

Open victorperezpiqueras opened 3 months ago

victorperezpiqueras commented 3 months ago

Added a is_app_initialized() function to deal with this issue. I also added a few test cases, pls check them. Also refactored a few calls that checked if an app was initialized already with the function call.

google-cla[bot] commented 3 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.