open-feature / open-feature/python-sdk
Support isolated API instances
Aperta
@marcozabel ci sta già lavorando.
Dal 22/4/2026.
- Lingua principale
- Python
- Stelle
- 111
- Fork
- 44
- Merge medio
- 2h 37m
- PR unite (30g)
- 14
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.