Add title and description properties to PhotoAsset
This commit is contained in:
parent
801ee8f7f7
commit
3b57397795
1 changed files with 8 additions and 0 deletions
|
@ -259,6 +259,14 @@ class PhotoAsset(object):
|
|||
def dimensions(self):
|
||||
return self.data.get('dimensions')
|
||||
|
||||
@property
|
||||
def title(self):
|
||||
return self.data.get('title')
|
||||
|
||||
@property
|
||||
def description(self):
|
||||
return self.data.get('description')
|
||||
|
||||
@property
|
||||
def versions(self):
|
||||
versions = {}
|
||||
|
|
Loading…
Reference in a new issue