There was an error while loading. Please reload this page.
1 parent 4d2cf01 commit b91d37fCopy full SHA for b91d37f
1 file changed
openfeature/provider/multi_provider.py
@@ -282,6 +282,13 @@ def determine_final_result(
282
default_value: FlagValueType,
283
evaluations: list[_ProviderEvaluation[FlagValueType]],
284
) -> FlagResolutionDetails[FlagValueType]:
285
+ """Determine the final result from parallel provider evaluations.
286
+
287
+ If any provider returns an error, returns an aggregated error result.
288
+ On agreement (all providers return the same value), returns the first
289
+ provider's result. On mismatch, calls the optional ``on_mismatch``
290
+ callback and returns the fallback provider's result.
291
+ """
292
failed_evaluations = [
293
evaluation
294
for evaluation in evaluations
0 commit comments