projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b209c48
)
Stop allowing positional arguments besides place_id for API.geo_id
author
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 04:34:32 +0000
(22:34 -0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 04:34:32 +0000
(22:34 -0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index bb72dce97ac5fa6d77c9f833b8930791539f2f36..043da6d9eb82dca18e260c5f464eaeb50feffb3d 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-1180,10
+1180,10
@@
class API:
)
@payload('place')
- def geo_id(self, place_id, *
args, *
*kwargs):
+ def geo_id(self, place_id, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/geo/place-information/api-reference/get-geo-id-place_id
"""
- return self.request('GET', f'geo/id/{place_id}', *
args, *
*kwargs)
+ return self.request('GET', f'geo/id/{place_id}', **kwargs)
@payload('place', list=True)
def geo_search(self, *args, **kwargs):