Support isolated API instances
@marcozabel đang làm issue này rồi.
Từ ngày 22/4/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
The spec now supports creating independent, non-singleton instances of the OpenFeature API. Each instance has its own providers, context, hooks, and events; totally separate from the global singleton and from each other. This is useful for things like DI frameworks and testing.
What needs to happen
- Add a factory function (or equivalent) that creates new, independent API instances
- Each instance should conform to the same API contract as the existing singleton
- Ideally the factory lives in its own module for discoverability (recommended, not required)
- A single provider instance shouldn't be bound to more than one API instance at a time
Links
- Ngôn ngữ chính
- Python
- Star
- 111
- Fork
- 44
- Merge trung bình
- 2 giờ 37 phút
- Pull request đã merge (30 ngày)
- 14
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 open-feature/python-sdk
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
open-feature/python-sdk#628 ·
-
question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
open-feature/python-sdk#627 ·
-
Spec v0.9.0 compliance Đang mởv0.9.0
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
open-feature/python-sdk#618 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
open-feature/python-sdk#615 ·
-
multi-provider
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
open-feature/python-sdk#568 ·
Tất cả issue của open-feature/python-sdk
Issue tương tự
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Đang mởarea: harness bug status: needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Human-Agent-Society/reef#625 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
learningequality/kolibri#15351 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Name consistency Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
eellak/triplestore#65 · 1 bình luận ·