From: Harmon Date: Sun, 10 Jan 2021 03:14:45 +0000 (-0600) Subject: Merge branch 'master' into ts/lists_ownerships X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a759d9c30ceba918693fd76e78f5138a159f026e;p=tweepy.git Merge branch 'master' into ts/lists_ownerships --- a759d9c30ceba918693fd76e78f5138a159f026e diff --cc tweepy/models.py index 45fd08f,bafd910..2ced5c1 --- a/tweepy/models.py +++ b/tweepy/models.py @@@ -196,13 -190,8 +190,13 @@@ class User(Model, Hashable) *args, **kwargs) + def lists_ownerships(self, *args, **kwargs): + return self._api.lists_ownerships(user_id=self.id, + *args, + **kwargs) + def lists_subscriptions(self, *args, **kwargs): - return self._api.lists_subscriptions(user=self.screen_name, + return self._api.lists_subscriptions(user_id=self.id, *args, **kwargs)