We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2f7c25 commit 03721b3Copy full SHA for 03721b3
flag_engine/segments/evaluator.py
@@ -379,7 +379,7 @@ def _get_context_value_getter(
379
return partial(_get_trait_value, trait_key=property)
380
381
def getter(context: EvaluationContext) -> ContextValue:
382
- if trait_value := _get_trait_value(context, property):
+ if trait_value := _get_trait_value(context, property) is not None:
383
return trait_value
384
if typing.TYPE_CHECKING: # pragma: no cover
385
# Ugly hack to satisfy mypy :(
0 commit comments