projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
316b4cc
)
Stop allowing positional arguments for API.blocks_ids
author
Harmon
<Harmon758@gmail.com>
Sun, 14 Feb 2021 06:18:06 +0000
(
00:18
-0600)
committer
Harmon
<Harmon758@gmail.com>
Sun, 14 Feb 2021 06:18:06 +0000
(
00:18
-0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 1e99825f71615c58a78a66a0fe1a1f21062b83eb..bd8223cf975c94d7fccf6eb0d72c69f592f79e15 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-845,11
+845,11
@@
class API:
@pagination(mode='cursor')
@payload('ids')
- def blocks_ids(self, *
args, *
*kwargs):
+ def blocks_ids(self, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-blocks-ids
"""
return self.request(
- 'GET', 'blocks/ids',
*args,
endpoint_parameters=(
+ 'GET', 'blocks/ids', endpoint_parameters=(
'stringify_ids', 'cursor',
), **kwargs
)