Support isolated API instances
@marcozabel arbeitet bereits daran.
Seit 22.4.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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
- Vorherrschende Sprache
- Python
- Sterne
- 111
- Forks
- 44
- Ø Merge
- 2 Std. 37 Min.
- Gemergte PRs (30 T.)
- 14
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus open-feature/python-sdk
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 78/100
open-feature/python-sdk#628 ·
-
question
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
open-feature/python-sdk#627 ·
-
Spec v0.9.0 compliance Offenv0.9.0
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
open-feature/python-sdk#618 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
open-feature/python-sdk#615 ·
-
multi-provider
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
open-feature/python-sdk#568 ·
Alle Issues in open-feature/python-sdk
Ähnliche Issues
-
area: harness bug status: needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Human-Agent-Society/reef#625 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
learningequality/kolibri#15351 · 2 Kommentare ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Name consistency Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
eellak/triplestore#65 · 1 Kommentar ·