From da99df08b6e778a09601c4cd92b5792b41ed1f1d Mon Sep 17 00:00:00 2001 From: Bas Westerbaan Date: Thu, 17 Dec 2009 00:46:09 -0600 Subject: [PATCH] Allow for pagination and other parameters for some helper methods in User model. Merged from bwesterb/tweepy @5c7a7480de1ee99fae8c4a1eef65c127cb83e619 Signed-off-by: Joshua --- tweepy/models.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tweepy/models.py b/tweepy/models.py index 83d70ff..1b3d648 100644 --- a/tweepy/models.py +++ b/tweepy/models.py @@ -52,17 +52,17 @@ class User(Model): self._api.destroy_friendship(user_id=self.id) self.following = False - def lists_memberships(self): - return self._api.lists_memberships(user=self.screen_name) + def lists_memberships(self, *args, **kargs): + return self._api.lists_memberships(user=self.screen_name, *args, **kargs) - def lists_subscriptions(self): - return self._api.lists_subscriptions(user=self.screen_name) + def lists_subscriptions(self, *args, **kargs): + return self._api.lists_subscriptions(user=self.screen_name, *args, **kargs) - def lists(self): - return self._api.lists(user=self.screen_name) + def lists(self, *args, **kargs): + return self._api.lists(user=self.screen_name, *args, **kargs) - def followers_ids(self): - return self._api.followers_ids(user_id=self.id) + def followers_ids(self, *args, **kargs): + return self._api.followers_ids(user_id=self.id, *args, **kargs) class DirectMessage(Model): -- 2.25.1