From 38922793f5732d10c4dfbcf6d421d40667812675 Mon Sep 17 00:00:00 2001 From: Raymond Wagner Date: Thu, 29 Mar 2012 23:43:12 -0400 Subject: [PATCH] Add 'adult' and 'alias' to Person class. --- tmdb3/tmdb_api.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tmdb3/tmdb_api.py b/tmdb3/tmdb_api.py index 1d123e9e293..89591ee4c8a 100644 --- a/tmdb3/tmdb_api.py +++ b/tmdb3/tmdb_api.py @@ -22,7 +22,7 @@ Preliminary API specifications can be found at http://help.themoviedb.org/kb/api/about-3""" -__version__="v0.4.1" +__version__="v0.4.3" # 0.1.0 Initial development # 0.2.0 Add caching mechanism for API queries # 0.2.1 Temporary work around for broken search paging @@ -36,6 +36,8 @@ # 0.3.7 Generalize caching mechanism, and allow controllability # 0.4.0 Add full locale support (language and country) and optional fall through # 0.4.1 Add custom classmethod for dealing with IMDB movie IDs +# 0.4.2 Improve cache file selection for Windows systems +# 0.4.3 Add a few missed Person properties from request import set_key, Request from util import Datapoint, Datalist, Datadict, Element @@ -132,6 +134,8 @@ class Person( Element ): homepage = Datapoint('homepage') birthplace = Datapoint('place_of_birth') profile = Datapoint('profile_path', handler=Profile, raw=False) + adult = Datapoint('adult') + aliases = Datalist('also_known_as') def __repr__(self): return u"<{0} '{1.name}' at {2}>".\