Add title and description properties to PhotoAsset

This commit is contained in:
Tor Arne Vestbø 2016-07-07 00:13:31 +02:00
parent 801ee8f7f7
commit 3b57397795

View file

@ -259,6 +259,14 @@ class PhotoAsset(object):
def dimensions(self): def dimensions(self):
return self.data.get('dimensions') return self.data.get('dimensions')
@property
def title(self):
return self.data.get('title')
@property
def description(self):
return self.data.get('description')
@property @property
def versions(self): def versions(self):
versions = {} versions = {}