api.get_lists()[0].members()
fails with TypeError: API.get_list_members() takes 1 positional argument but 3 were given
#1987
Labels
Bug
This is regarding a bug with the library
I believe the issue is that
members
is calling it with positional ones:tweepy/tweepy/models.py
Lines 205 to 208 in 33e444a
bug
get_list_members
only accepts keyword arguments:tweepy/tweepy/api.py
Line 1360 in 33e444a
I resolved the issue by changing the code to:
The text was updated successfully, but these errors were encountered: