Remove extraneous changes
authorHarmon <Harmon758@gmail.com>
Sat, 26 Dec 2020 00:48:27 +0000 (18:48 -0600)
committerHarmon <Harmon758@gmail.com>
Sat, 26 Dec 2020 00:48:27 +0000 (18:48 -0600)
tweepy/api.py
tweepy/models.py

index 3f25235b212b087ae370f08caf146cd949171d4e..4a2599c76ff3c653b200271c81d0b9912d0d81d3 100644 (file)
@@ -1034,21 +1034,6 @@ class API(object):
             require_auth=True
         )
 
-    @property
-    def lists_ownerships(self):
-        """ :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/get-lists-ownerships
-            :allowed_param: 'screen_name', 'user_id',
-                            'cursor', 'count'
-        """
-        return bind_api(
-            api=self,
-            path='/lists/ownerships.json',
-            payload_type='list', payload_list=True,
-            allowed_param=['screen_name', 'user_id',
-                           'cursor', 'count'],
-            require_auth=True
-        )
-
     @property
     def lists_subscriptions(self):
         """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-subscriptions
@@ -1173,14 +1158,14 @@ class API(object):
     def list_members(self):
         """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members
             :allowed_param: 'owner_screen_name', 'slug', 'list_id', 'owner_id',
-                            'cursor', 'count'
+                            'cursor'
         """
         return bind_api(
             api=self,
             path='/lists/members.json',
             payload_type='user', payload_list=True,
             allowed_param=['owner_screen_name', 'slug', 'list_id', 'owner_id',
-                           'cursor', 'count']
+                           'cursor']
         )
 
     @property
index 27bbaa1c844c352fb4871b6e9449cf8f7c366cb9..01312fb2de430ef49158c330d76c67d3e478530e 100644 (file)
@@ -200,11 +200,6 @@ class User(Model):
                                            *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_id=self.id,
                                              *args,