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 f7b71e7 commit 2aea5b2Copy full SHA for 2aea5b2
optimizely/bucketer.py
@@ -138,7 +138,7 @@ def bucket(
138
if variation_id:
139
variation = project_config.get_variation_from_id_by_experiment_id(experiment_id, variation_id)
140
# Cast is safe here because experiments always use Variation entities, not VariationDict
141
- return cast(Optional[Variation], variation), decide_reasons
+ return cast('Optional[Variation]', variation), decide_reasons
142
143
# No variation found - log message for empty traffic range
144
message = 'Bucketed into an empty traffic range. Returning nil.'
0 commit comments