diff --git a/optimizely/entities.py b/optimizely/entities.py index cee6ad0b..16e3639b 100644 --- a/optimizely/entities.py +++ b/optimizely/entities.py @@ -33,7 +33,7 @@ def __init__(self, id, key, experimentIds): class Experiment(BaseEntity): def __init__(self, id, key, status, audienceIds, variations, forcedVariations, - trafficAllocation, layerId=None, groupId=None, groupPolicy=None): + trafficAllocation, layerId=None, groupId=None, groupPolicy=None, percentageIncluded=None): self.id = id self.key = key self.status = status @@ -44,6 +44,7 @@ def __init__(self, id, key, status, audienceIds, variations, forcedVariations, self.layerId = layerId self.groupId = groupId self.groupPolicy = groupPolicy + self.percentageIncluded = percentageIncluded class Group(BaseEntity):