From a0cff22d0402386ffe576327b17a2a4240e51148 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 18 Feb 2021 22:34:32 -0600 Subject: [PATCH] Stop allowing positional arguments besides place_id for API.geo_id --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.25.1