From 0af06db70a3f41db048d2f5e866a39c48cfcdd98 Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 15 Feb 2021 01:52:18 -0600 Subject: [PATCH] Stop allowing positional arguments for API.show_list_member --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 9398f4b..f29ad4d 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -1054,11 +1054,11 @@ class API: ) @payload('user') - def show_list_member(self, *args, **kwargs): + def show_list_member(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members-show """ return self.request( - 'GET', 'lists/members/show', *args, endpoint_parameters=( + 'GET', 'lists/members/show', endpoint_parameters=( 'list_id', 'slug', 'user_id', 'screen_name', 'owner_screen_name', 'owner_id', 'include_entities', 'skip_status' -- 2.25.1