Skip to content

Commit 09165df

Browse files
bheddensjuanshishido
authored andcommitted
Updating age buckets to latest available (#120)
* Updating age buckets to latest available * Updating age buckets to latest available & forcing sphinx version in requirements.txt
1 parent 08107d0 commit 09165df

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pyyaml
22
requests-oauthlib
33
python-dateutil
4-
sphinx
4+
sphinx==1.3.1
55
responses
66
mock

twitter_ads/enum.py

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,26 @@ def enum(**enums):
7171
)
7272

7373
AGE_BUCKET = enum(
74-
AGE_13_TO_17='AGE_13_TO_17',
75-
AGE_18_TO_24='AGE_18_TO_24',
76-
AGE_25_TO_34='AGE_25_TO_34',
77-
AGE_35_TO_44='AGE_35_TO_44',
78-
AGE_45_TO_54='AGE_45_TO_54',
79-
AGE_55_TO_64='AGE_55_TO_64',
80-
AGE_OVER_65='AGE_OVER_65'
81-
)
82-
83-
AGE_BUCKET_COARSE = enum(
74+
AGE_13_TO_24='AGE_13_TO_24',
75+
AGE_13_TO_34='AGE_13_TO_34',
76+
AGE_13_TO_49='AGE_13_TO_49',
77+
AGE_13_TO_54='AGE_13_TO_54',
78+
AGE_OVER_13='AGE_OVER_13',
8479
AGE_18_TO_34='AGE_18_TO_34',
8580
AGE_18_TO_49='AGE_18_TO_49',
81+
AGE_18_TO_54='AGE_18_TO_54',
82+
AGE_OVER_18='AGE_OVER_18',
83+
AGE_21_TO_34='AGE_21_TO_34',
84+
AGE_21_TO_49='AGE_21_TO_49',
85+
AGE_21_TO_54='AGE_21_TO_54',
86+
AGE_OVER_21='AGE_OVER_21',
87+
AGE_25_TO_49='AGE_25_TO_49',
8688
AGE_25_TO_54='AGE_25_TO_54',
87-
AGE_OVER_21='AGE_OVER_21'
89+
AGE_OVER_25='AGE_OVER_25',
90+
AGE_35_TO_49='AGE_35_TO_49',
91+
AGE_35_TO_54='AGE_35_TO_54',
92+
AGE_OVER_35='AGE_OVER_35',
93+
AGE_OVER_50='AGE_OVER_50'
8894
)
8995

9096
EVENTS = enum(

0 commit comments

Comments
 (0)