You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a7fdb40
Browse filesBrowse the repository at this point in the historyBrowse files
In local evaluation, expose which multivariate variant an identity was
bucketed into via a new `Flag.variant`:
- the variant's key when a named variant is selected,
- "control" when the identity falls in the control bucket,
- None otherwise (standard feature, unkeyed variant, or no identity).
Threads the variant key from the environment document through the
evaluation context so the engine can return it, and surfaces the engine's
`variant` on the Flag. Requires flag-engine >=10.2.0.
`Flag.from_api_flag` reads `variant` too, so remote evaluation will
populate it once the API returns it.
0 commit comments