Skip to content

Commit 92cf30d

Browse files
Fixing parsing of v1 file (#31)
1 parent e987130 commit 92cf30d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

optimizely/entities.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, id, key, experimentIds):
3333
class Experiment(BaseEntity):
3434

3535
def __init__(self, id, key, status, audienceIds, variations, forcedVariations,
36-
trafficAllocation, layerId=None, groupId=None, groupPolicy=None):
36+
trafficAllocation, layerId=None, groupId=None, groupPolicy=None, percentageIncluded=None):
3737
self.id = id
3838
self.key = key
3939
self.status = status
@@ -44,6 +44,7 @@ def __init__(self, id, key, status, audienceIds, variations, forcedVariations,
4444
self.layerId = layerId
4545
self.groupId = groupId
4646
self.groupPolicy = groupPolicy
47+
self.percentageIncluded = percentageIncluded
4748

4849

4950
class Group(BaseEntity):

0 commit comments

Comments
 (0)