firebase-admin-python icon indicating copy to clipboard operation
firebase-admin-python copied to clipboard

[FR] Add support for storage emulator

Open PaulRudin opened this issue 2 years ago • 11 comments

The python admin sdk does not appear to support the firebase storage emulator. Other emulators are supported, and the node sdk has this support.

PaulRudin avatar Sep 04 '21 17:09 PaulRudin

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Sep 04 '21 17:09 google-oss-bot

We encountered this today, it is listed as 'future' in the admin sdk emulator support matrix, hopefully this feature is available soon.

qhaas avatar Apr 01 '22 19:04 qhaas

bump.

rbarrette avatar Jul 08 '22 15:07 rbarrette

Hey @yuchenshi, @christhompsongoogle FYI.

lahirumaramba avatar Jul 08 '22 17:07 lahirumaramba

Any updates on this?

vizaiapp avatar Sep 07 '22 01:09 vizaiapp

Hi @vizaiapp, no timeline to share on this just yet but it's still on our radar.

+cc @taeold

christhompsongoogle avatar Sep 13 '22 01:09 christhompsongoogle

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.

prggTheProgrammer avatar Apr 25 '23 07:04 prggTheProgrammer

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

lahirumaramba avatar Apr 25 '23 19:04 lahirumaramba

Can we please update the documentation for Python SDK at least?

bowenng avatar Apr 17 '24 04:04 bowenng