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 ae75331 commit b5773a3Copy full SHA for b5773a3
configcat_openfeature_provider/provider.py
@@ -128,7 +128,7 @@ def __produce_result(
128
129
@staticmethod
130
def __ctx_to_user(ctx: typing.Optional[EvaluationContext]) -> typing.Optional[User]:
131
- if ctx is None:
+ if ctx is None or (not ctx.targeting_key and not ctx.attributes):
132
return None
133
134
email = ctx.attributes.get("Email")
0 commit comments