Skip to content

Commit

Permalink
Stop allowing positional arguments for API.home_timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 8, 2021
1 parent c82d7ac commit b91be22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tweepy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,11 @@ def request(

@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
Expand Down

0 comments on commit b91be22

Please sign in to comment.