[FR] Connect to firebase storage emulator
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với tài liệu Firebase Emulator Suite được liên kết, đặc biệt là phần Admin SDK Storage, và so sánh tên biến môi trường của tài liệu này với hành vi của Python Admin SDK được mô tả trong issue. Công việc được xem là hoàn tất khi tài liệu sử dụng STORAGE_EMULATOR_HOST và giải thích rõ cách lấy một bucket được mô phỏng; issue cũng hỏi nên gửi bản sửa tài liệu này ở đâu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
**EDIT:**
I just discovered that it's a bug in the documentation. It is possible to connect to firebase storage emulator using the python admin sdk, but you need to set the STORAGE_EMULATOR_HOST environment variable instead of the FIREBASE_STORAGE_EMULATOR_HOST as described by the docs.
See this answer.
Should I close this and submit an issue somewhere else? In that case where do I need to open such issue?
Is your feature request related to a problem? Please describe.
I have a problem described by this question. But to summarize I am using firebase storage admin with python and I want to connect it to a firebase emulator running on localhost. I followed the docs here, added the environment variable, but now I need to get the bucket.
bucket = storage.bucket("What do I put here?")
If I don't put anything it gives an error, if I put a real bucket it uses that and I even tried localhost ("127.0.0.1:9199") as bucket name and it couldn't find it because it was searching for a real bucket.
Describe the solution you'd like
I'd like a way to get a emulated storage bucket. I think that if the environment variable is set storage.bucket() should return that.
Describe alternatives you've considered
Any other way it would be possible to use firebase storage admin with the emulator suite would be appreciated.
Additional context
As far as I know there is no solution for the problem described above. I don't know if this is a bug or if I'm just being dumb, so I would appreciate if you could point me in the right direction if this is not the right place.
- Ngôn ngữ chính
- Python
- Star
- 1.2k
- Fork
- 359
- Merge trung bình
- 5 ngày 6 phút
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của firebase/firebase-admin-python
-
api: remoteconfig
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
firebase/firebase-admin-python#957 · 1 bình luận ·
-
api: database type: feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
firebase/firebase-admin-python#978 · 1 bình luận ·
-
[FR] Support VERIFY_AND_CHANGE_EMAIL in generate_email_action_link (parity with firebase-admin-node) Đang mởapi: auth
firebase/firebase-admin-python#949 · 2 bình luận · 1 reaction · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
firebase/firebase-admin-python#945 · 1 bình luận · 1 reaction ·
Tất cả issue của firebase/firebase-admin-python
Issue tương tự
-
货币战争手改优先级配置缺少列表元素类型校验(P3) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Đang mởarea: ci bug perceived difficulty: 3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ClickHouse/clickhouse-connect#1057 ·