From: Harmon Date: Wed, 2 Jun 2021 23:55:53 +0000 (-0500) Subject: Rename API.friendships_outgoing to API.outgoing_friendships X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1400065bb4980ec1b3934f68173e63acffc970e2;p=tweepy.git Rename API.friendships_outgoing to API.outgoing_friendships --- diff --git a/docs/api.rst b/docs/api.rst index 4e26584..f0072a5 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -124,7 +124,7 @@ +------------------------------------------+--------------------------------------+ | `GET friendships/no_retweets/ids`_ | :meth:`API.no_retweets_friendships` | +------------------------------------------+--------------------------------------+ - | `GET friendships/outgoing`_ | :meth:`API.friendships_outgoing` | + | `GET friendships/outgoing`_ | :meth:`API.outgoing_friendships` | +------------------------------------------+--------------------------------------+ | `GET friendships/show`_ | :meth:`API.get_friendship` | +------------------------------------------+--------------------------------------+ @@ -484,7 +484,7 @@ Follow, search, and get users .. automethod:: API.no_retweets_friendships -.. automethod:: API.friendships_outgoing +.. automethod:: API.outgoing_friendships .. automethod:: API.get_friendship diff --git a/tweepy/api.py b/tweepy/api.py index 3d0a3fc..7742abe 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2254,8 +2254,8 @@ class API: @pagination(mode='cursor') @payload('ids') - def friendships_outgoing(self, **kwargs): - """friendships_outgoing(*, cursor, stringify_ids) + def outgoing_friendships(self, **kwargs): + """outgoing_friendships(*, cursor, stringify_ids) Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.