Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53faf24

Browse files
committed
Merge branch 'aarcro-return_more_responces'
* aarcro-return_more_responces: Bumping package version update CHANGELOG Calling self._make_signed_request should return the response
2 parents 8ebba43 + e40b8f1 commit 53faf24

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG

+7
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/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
__copyright__ = 'Copyright 2014, Stream.io, Inc'
66
__credits__ = ['Thierry Schellenbach, mellowmorning.com, @tschellenbach']
77
__license__ = 'BSD-3-Clause'
8-
__version__ = '2.6.2'
8+
__version__ = '2.7.0'
99
__maintainer__ = 'Thierry Schellenbach'
1010
__email__ = '[email protected]'
1111
__status__ = 'Production'

stream/client.py

+2-2
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)