PagerDuty / pdpyras

Low-level PagerDuty REST/Events API client for Python
MIT License
129 stars 29 forks source link

Refactor trigger-specific kwargs out of send_event #10

Closed Deconstrained closed 5 years ago

Deconstrained commented 5 years ago

This removes all keyword args specific to triggering out of the generic EventsAPISession.send_event method, and uses a catch-all keyword argument instead to set event properties.

The keyword arguments specific to triggering incidents are in the method EventsAPISession.trigger method.