Hi I was wondering how to connect to my firebase storage emulator, this is how I connect to Firestore. How do I do it with storage
Firestore Example:
if emulator:
os.environ["FIRESTORE_EMULATOR_HOST"] = "0.0.0.0:8080"
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "myCredentials.json"
# Retrieve the application credentials
cred = credentials.ApplicationDefault()
options = {
"storageBucket": "my-storage-bucket-name.appspot.com"
}
# Initialise the app
firebase_app = firebase_admin.initialize_app(cred, options)
What is the equivalent for firebase storage?
firebase-admin-python
github repo has an issue identifying this need, but its been crickets since last summer github.com/firebase/firebase-admin-python/issues/570 – Sinew