From b91be220928d1cb2996a5c71ef16a13c58375d4a Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 8 Feb 2021 02:20:46 -0600 Subject: [PATCH] Stop allowing positional arguments for API.home_timeline --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 6434846..59fe255 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -249,11 +249,11 @@ class API: @pagination(mode='id') @payload('status', list=True) - def home_timeline(self, *args, **kwargs): + def home_timeline(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-home_timeline """ return self.request( - 'GET', 'statuses/home_timeline', *args, endpoint_parameters=( + 'GET', 'statuses/home_timeline', endpoint_parameters=( 'count', 'since_id', 'max_id', 'trim_user', 'exclude_replies', 'include_entities' ), **kwargs -- 2.25.1