Skip to content

Commit

Permalink
Stop allowing positional arguments for API.friendships_outgoing
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 12, 2021
1 parent 7ed0762 commit 09f8504
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 @@ -631,11 +631,11 @@ def friendships_incoming(self, **kwargs):

@pagination(mode='cursor')
@payload('ids')
def friendships_outgoing(self, *args, **kwargs):
def friendships_outgoing(self, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-outgoing
"""
return self.request(
'GET', 'friendships/outgoing', *args, endpoint_parameters=(
'GET', 'friendships/outgoing', endpoint_parameters=(
'cursor', 'stringify_ids'
), **kwargs
)
Expand Down

0 comments on commit 09f8504

Please sign in to comment.