Skip to content

Commit 0bd8dc1

Browse files
committed
Fix PEP8 E501 where possible.
1 parent 47de889 commit 0bd8dc1

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

examples/subusers/subusers.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,13 @@
7777
# Retrieve the totals for each email statistic metric for all subusers. #
7878
# GET /subusers/stats/sums #
7979

80-
params = {'end_date': '2016-04-01', 'aggregated_by': 'day', 'limit': 1,
81-
'sort_by_metric': 'test_string', 'offset': 1, 'start_date': '2016-01-01', 'sort_by_direction': 'asc'}
80+
params = {'end_date': '2016-04-01',
81+
'aggregated_by': 'day',
82+
'limit': 1,
83+
'sort_by_metric': 'test_string',
84+
'offset': 1,
85+
'start_date': '2016-01-01',
86+
'sort_by_direction': 'asc'}
8287
response = sg.client.subusers.stats.sums.get(query_params=params)
8388
print(response.status_code)
8489
print(response.body)
@@ -172,8 +177,11 @@
172177
# Retrieve the monthly email statistics for a single subuser #
173178
# GET /subusers/{subuser_name}/stats/monthly #
174179

175-
params = {'date': 'test_string', 'sort_by_direction': 'asc',
176-
'limit': 1, 'sort_by_metric': 'test_string', 'offset': 1}
180+
params = {'date': 'test_string',
181+
'sort_by_direction': 'asc',
182+
'limit': 1,
183+
'sort_by_metric': 'test_string',
184+
'offset': 1}
177185
subuser_name = "test_url_param"
178186
response = sg.client.subusers._(
179187
subuser_name).stats.monthly.get(query_params=params)

0 commit comments

Comments
 (0)