From 637adc73ba3f5c8091d8e051f9f7e11a964ce94a Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Wed, 9 Dec 2009 23:50:13 -0600 Subject: [PATCH] Add 'description' parameter to API.create_list() and API.update_list() --- CHANGELOG | 2 ++ tweepy/api.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 6fd1d16..7bf1937 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -22,6 +22,8 @@ during upgrade will be listed here. - retweet() method now works correctly - Added local trends method: trends_available() and trends_location() - send_direct_message() now accepts either a user/screen_name/user_id for recipient of DM + - update_status() added 'source' parameter for Identi.ca + - create_list() and update_list() added 'description' parameter + tweepy.debug() enables httplib debug mode + New Sphinx documentation (Thanks Kumar!) in doc/ + Fix User.timeline() to return correct timeline diff --git a/tweepy/api.py b/tweepy/api.py index d479c33..52fc3b5 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -461,7 +461,7 @@ class API(object): path = '/%s/lists.json' % self.auth.get_username(), method = 'POST', parser = parse_list, - allowed_param = ['name', 'mode'], + allowed_param = ['name', 'mode', 'description'], require_auth = True )(self, *args, **kargs) @@ -478,7 +478,7 @@ class API(object): path = '/%s/lists/%s.json' % (self.auth.get_username(), slug), method = 'POST', parser = parse_list, - allowed_param = ['name', 'mode'], + allowed_param = ['name', 'mode', 'description'], require_auth = True )(self, *args, **kargs) -- 2.25.1