Skip to content

Commit e32ee97

Browse files
committed
Merge branch 'return_more_responces' of https://github.com/aarcro/stream-python into aarcro-return_more_responces
* 'return_more_responces' of https://github.com/aarcro/stream-python: update CHANGELOG Calling self._make_signed_request should return the response
2 parents 8ebba43 + ae922d4 commit e32ee97

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

‎CHANGELOG‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
Change history
33
================
44

5+
=======
6+
2.7.0
7+
======
8+
:release-date: 2017-12-14
9+
:by: Aaron McMillin
10+
11+
* All client methods that make requests will return the response
512

613
2.6.2
714
=====

‎stream/client.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def add_to_many(self, activity, feeds):
278278
279279
'''
280280
data = {'activity': activity, 'feeds': feeds}
281-
self._make_signed_request('post', 'feed/add_to_many/', data=data)
281+
return self._make_signed_request('post', 'feed/add_to_many/', data=data)
282282

283283
def follow_many(self, follows, activity_copy_limit=None):
284284
'''
@@ -293,7 +293,7 @@ def follow_many(self, follows, activity_copy_limit=None):
293293
if activity_copy_limit != None:
294294
params = dict(activity_copy_limit=activity_copy_limit)
295295

296-
self._make_signed_request('post', 'follow_many/', params=params, data=follows)
296+
return self._make_signed_request('post', 'follow_many/', params=params, data=follows)
297297

298298
def update_activities(self, activities):
299299
'''

0 commit comments

Comments
 (0)