From 1400065bb4980ec1b3934f68173e63acffc970e2 Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 2 Jun 2021 18:55:53 -0500 Subject: [PATCH] Rename API.friendships_outgoing to API.outgoing_friendships --- docs/api.rst | 4 ++-- tweepy/api.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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. -- 2.25.1