Skip to content
Prev Previous commit
Next Next commit
fix the failed unit-test
  • Loading branch information
ninghu committed Oct 30, 2024
commit 9c09c8727e514ff055f00a9c0612657a9c55943f
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def wrapper(*args: P.args, **kwargs: P.kwargs) -> EvaluationResult:
user_agent=USER_AGENT,
)

track_in_cloud = bool(pf_client._config.get_trace_destination()) # pylint: disable=protected-access
trace_destination = pf_client._config.get_trace_destination() # pylint: disable=protected-access
track_in_cloud = bool(trace_destination) if trace_destination != "none" else False
evaluate_target = bool(kwargs.get("target", None))
evaluator_config = bool(kwargs.get("evaluator_config", None))
custom_dimensions: Dict[str, Union[str, bool]] = {
Expand Down