Skip to content

Commit b4d0b15

Browse files
authored
Merge pull request #19 from reddit/remove_optional_exp_name
Make experiment_name non-optional in get_variant()
2 parents efe3218 + 2c657ec commit b4d0b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reddit_decider/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _get_decider(self) -> Optional[T]:
140140

141141
def get_variant(
142142
self,
143-
experiment_name: Optional[str] = None,
143+
experiment_name: str,
144144
**exposure_kwargs: Optional[Dict[str, Any]]
145145
) -> Optional[str]:
146146
"""Return a bucketing variant, if any, with auto-exposure.

0 commit comments

Comments
 (0)