From: Harmon Date: Fri, 19 Feb 2021 04:34:32 +0000 (-0600) Subject: Stop allowing positional arguments besides place_id for API.geo_id X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a0cff22d0402386ffe576327b17a2a4240e51148;p=tweepy.git Stop allowing positional arguments besides place_id for API.geo_id --- diff --git a/tweepy/api.py b/tweepy/api.py index bb72dce..043da6d 100644 --- 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):