Skip to main content
westyx-nexus-openfeature ships NexusProvider, an AbstractProvider implementation for the OpenFeature Python SDK. The provider wraps an already-initialized NexusClient and delegates all evaluations to its in-memory cache. No additional I/O or network calls are made by the provider itself. Available since v0.8.0.

Installation

The provider is a separate package - install it alongside the main SDK:
Both packages are hosted in the same GitLab PyPI registry. Add the registry URL first if you have not already done so (see Installation).

Quick start

Evaluation mapping

Integer evaluation accepts int, float, and numeric strings. Float evaluation accepts any numeric value.

EvaluationContext

EvaluationContext is accepted by all resolve methods but ignored. Nexus has no per-user flag targeting; every call returns the same cached value.

Error details

Use get_*_details instead of get_*_value to inspect the full resolution: