Closed mludvig closed 3 years ago
Thanks for the PR. We will also have to fix https://github.com/pliablepixels/pyzm/blob/01e4f8bb92e816b9a089c3830738b46aa8d2d2ef/pyzm/helpers/Events.py to make sure it doesn't show up in the events list
When I do Event.delete()
and then run Events.get()
again the deleted one doesn't show up in the list.
Or did you mean something else?
Yes I mean the count and list methods without calling get again.
Hmm it is more painful than I thought as Events and Event don't really have a direct connection.
Fix for #18
It needed a little change in
api._make_request()
because theDELETE
doesn't return json which trips up ther.json()
function.