firebase-admin-python
firebase-admin-python copied to clipboard
[FR] Add support for storage emulator
The python admin sdk does not appear to support the firebase storage emulator. Other emulators are supported, and the node sdk has this support.
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
We encountered this today, it is listed as 'future' in the admin sdk emulator support matrix, hopefully this feature is available soon.
bump.
Hey @yuchenshi, @christhompsongoogle FYI.
Any updates on this?
Hi @vizaiapp, no timeline to share on this just yet but it's still on our radar.
+cc @taeold
I think there already is support for storage emulator, it just isn't documented well in the docs.
The docs say you need to use FIREBASE_STORAGE_EMULATOR_HOST
, but you actually have to use STORAGE_EMULATOR_HOST
. (see #693 and this answer) And by doing this, I was able to use the python admin sdk to connect to the storage emulator.
If setting STORAGE_EMULATOR_HOST
works that means emulator support is now added to the storage library. We still need to map FIREBASE_STORAGE_EMULATOR_HOST
to STORAGE_EMULATOR_HOST
internally in the Admin SDK. The change should be similar to: https://github.com/firebase/firebase-admin-go/issues/520
In the meantime, please use STORAGE_EMULATOR_HOST
Can we please update the documentation for Python SDK at least?