If an object is passed as a parameter, extract its ID.
This allows things like: photos = client.photos.list() client.photos.delete(photos)
This commit is contained in:
parent
21c38c53cb
commit
fafeb70ec1
7 changed files with 53 additions and 28 deletions
|
@ -1,4 +1,4 @@
|
|||
from openphoto_http import OpenPhotoError, NotImplementedError
|
||||
from errors import *
|
||||
|
||||
class OpenPhotoObject:
|
||||
""" Base object supporting the storage of custom fields as attributes """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue