Skip to content

Commit

Permalink
Fix class references in notes in documentation for AsyncClient methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Oct 26, 2022
1 parent 0148be7 commit f737b87
Showing 1 changed file with 39 additions and 21 deletions.
60 changes: 39 additions & 21 deletions tweepy/asynchronous/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ async def remove_bookmark(self, tweet_id):
A request is made beforehand to Twitter's API to determine the
authenticating user's ID. This is cached and only done once per
:class:`Client` instance for each access token used.
:class:`AsyncClient` instance for each access token used.
Parameters
----------
Expand Down Expand Up @@ -293,7 +293,7 @@ async def get_bookmarks(self, **params):
A request is made beforehand to Twitter's API to determine the
authenticating user's ID. This is cached and only done once per
:class:`Client` instance for each access token used.
:class:`AsyncClient` instance for each access token used.
Parameters
----------
Expand Down Expand Up @@ -353,7 +353,7 @@ async def bookmark(self, tweet_id):
A request is made beforehand to Twitter's API to determine the
authenticating user's ID. This is cached and only done once per
:class:`Client` instance for each access token used.
:class:`AsyncClient` instance for each access token used.
Parameters
----------
Expand Down Expand Up @@ -444,7 +444,8 @@ async def unlike(self, tweet_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -596,7 +597,8 @@ async def like(self, tweet_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -843,7 +845,8 @@ async def unretweet(self, source_tweet_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -935,7 +938,8 @@ async def retweet(self, tweet_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -1287,7 +1291,8 @@ async def get_home_timeline(self, *, user_auth=True, **params):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -1733,7 +1738,8 @@ async def unblock(self, target_user_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -1777,7 +1783,8 @@ async def get_blocked(self, *, user_auth=True, **params):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -1830,7 +1837,8 @@ async def block(self, target_user_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -1873,7 +1881,8 @@ async def unfollow_user(self, target_user_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -2014,7 +2023,8 @@ async def follow_user(self, target_user_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -2059,7 +2069,8 @@ async def unmute(self, target_user_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -2103,7 +2114,8 @@ async def get_muted(self, *, user_auth=True, **params):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -2156,7 +2168,8 @@ async def mute(self, target_user_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -2627,7 +2640,8 @@ async def unfollow_list(self, list_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -2758,7 +2772,8 @@ async def follow_list(self, list_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -3128,7 +3143,8 @@ async def unpin_list(self, list_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -3168,7 +3184,8 @@ async def get_pinned_lists(self, *, user_auth=True, **params):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down Expand Up @@ -3212,7 +3229,8 @@ async def pin_list(self, list_id, *, user_auth=True):
When using OAuth 2.0 Authorization Code Flow with PKCE with
``user_auth=False``, a request is made beforehand to Twitter's API
to determine the authenticating user's ID. This is cached and only
done once per :class:`Client` instance for each access token used.
done once per :class:`AsyncClient` instance for each access token
used.
Parameters
----------
Expand Down

0 comments on commit f737b87

Please sign in to comment.