Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
fe60c1d8
Commit
fe60c1d8
authored
May 28, 2015
by
Joshua Roesslein
Browse files
Merge pull request #593 from rkaralkin/master
Typo fix on _add_list_members, _remove_list_members properties.
parents
5f06cf9c
c464b1b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/api.py
View file @
fe60c1d8
...
...
@@ -1042,7 +1042,7 @@ class API(object):
@
property
def
_add_list_members
(
self
):
""" :reference: https://dev.twitter.com/docs/api/1.1/post/lists/members/create_all
:allowed_param:'screen_name', 'user_id', 'slug', 'lit_id',
:allowed_param:'screen_name', 'user_id', 'slug', 'li
s
t_id',
'owner_id', 'owner_screen_name'
"""
...
...
@@ -1051,7 +1051,7 @@ class API(object):
path
=
'/lists/members/create_all.json'
,
method
=
'POST'
,
payload_type
=
'list'
,
allowed_param
=
[
'screen_name'
,
'user_id'
,
'slug'
,
'lit_id'
,
allowed_param
=
[
'screen_name'
,
'user_id'
,
'slug'
,
'li
s
t_id'
,
'owner_id'
,
'owner_screen_name'
],
require_auth
=
True
)
...
...
@@ -1067,7 +1067,7 @@ class API(object):
@
property
def
_remove_list_members
(
self
):
""" :reference: https://dev.twitter.com/docs/api/1.1/post/lists/members/destroy_all
:allowed_param:'screen_name', 'user_id', 'slug', 'lit_id',
:allowed_param:'screen_name', 'user_id', 'slug', 'li
s
t_id',
'owner_id', 'owner_screen_name'
"""
...
...
@@ -1076,7 +1076,7 @@ class API(object):
path
=
'/lists/members/destroy_all.json'
,
method
=
'POST'
,
payload_type
=
'list'
,
allowed_param
=
[
'screen_name'
,
'user_id'
,
'slug'
,
'lit_id'
,
allowed_param
=
[
'screen_name'
,
'user_id'
,
'slug'
,
'li
s
t_id'
,
'owner_id'
,
'owner_screen_name'
],
require_auth
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment