Skip to content

Commit

Permalink
better comment for evaluate
Browse files Browse the repository at this point in the history
  • Loading branch information
bgiori committed Nov 22, 2023
1 parent c7af8b1 commit 03e3601
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/amplitude_experiment/local/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def evaluate_v2(self, user: User, flag_keys: Set[str] = None) -> Dict[str, Varia
Locally evaluates flag variants for a user.
This function will only evaluate flags for the keys specified in the flag_keys argument. If flag_keys is
missing or None, all flags are evaluated.
missing or None, all flags are evaluated. This function differs from evaluate as it will return a default
variant object if the flag was evaluated but the user was not assigned (i.e. off).
Parameters:
user (User): The user to evaluate
Expand Down

0 comments on commit 03e3601

Please sign in to comment.