From 3d311e62ad9cdb5be7b3261343f503c886b0bdce Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 24 Mar 2022 01:06:35 -0500 Subject: [PATCH] Default oauth_1 kwarg to False for Client._get_authenticating_user_id --- tweepy/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/client.py b/tweepy/client.py index 5f10e9d..8937fe9 100644 --- a/tweepy/client.py +++ b/tweepy/client.py @@ -224,7 +224,7 @@ class Client(BaseClient): User agent used when making requests to the API """ - def _get_authenticating_user_id(self, *, oauth_1): + def _get_authenticating_user_id(self, *, oauth_1=False): if oauth_1: if self.access_token is None: raise TypeError( -- 2.25.1