Skip to content

Commit cbfc3dd

Browse files
authored
fix: Update reason documentation with inExperiment value (#401)
1 parent 5a1adbb commit cbfc3dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ldclient/evaluation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ def reason(self) -> dict:
5454
* ``errorKind``: further describes the nature of the error if the kind was ``ERROR``,
5555
e.g. ``"FLAG_NOT_FOUND"``
5656
57+
* ``inExperiment``: This is true if the evaluation resulted in an experiment rollout and
58+
served one of the variations in the experiment. Otherwise it is false.
59+
5760
* ``bigSegmentsStatus``: describes the validity of Big Segment information, if and only if
5861
the flag evaluation required querying at least one Big Segment; otherwise it returns None.
5962
Allowable values are defined in :class:`BigSegmentsStatus`. For more information, read the

0 commit comments

Comments
 (0)