Pdpyras Versions Save

Low-level PagerDuty REST/Events API client for Python

v5.2.0

4 months ago
  • Expanded use of type hints
    • Return type hints used in place of :rtype: Sphinx directives
    • More type hints added to function arguments
  • Remove unused dependency deprecation
  • Fixed #130: path /tags/{id}/{entity_type} breaks entity wrapping logic

v5.1.1

10 months ago
  • The method ChangeEventsAPIClient.submit now accepts an optional timestamp parameter that allows the user to set the payload.timestamp value in the event
  • When raising an exception due to a non-transient network issue, the upstream exception is explicitly cited as the source exception
  • Features that were deprecated in v5.0 are now removed
  • Bug fix in 5.1.1: Fix invocation of iter_cursor in iter_all when using on endpoints that support cursor-based pagination

v5.1.0

10 months ago
  • The method ChangeEventsAPIClient.submit now accepts an optional timestamp parameter that allows the user to set the payload.timestamp value in the event
  • When raising an exception due to a non-transient network issue, the upstream exception is explicitly cited as the source exception
  • Features that were deprecated in v5.0 are now removed

v5.1.3

10 months ago
  • The method ChangeEventsAPIClient.submit now accepts an optional timestamp parameter that allows the user to set the payload.timestamp value in the event
  • When raising an exception due to a non-transient network issue, the upstream exception is explicitly cited as the source exception
  • Features that were deprecated in v5.0 are now removed
  • Bug fix in 5.1.1: Fix invocation of iter_cursor in iter_all when using on endpoints that support cursor-based pagination
  • Fixed #115 in 5.1.2: Events API clients will retry statuses 500, 502 and 503, keeping in line with PagerDuty's publicly-documented recommendations for scenarios where the Events API responds with these statuses.
  • Fixed #125 in 5.1.3: Deprecated escape sequences for splat operator in docstrings replaced with bare ** to avoid downstream linter / unit test errors

v5.0.4

1 year ago
  • New "debug mode" which sends all logging statements to stderr
  • Keeping with the recommended construction of using one logger per module and naming accordingly, the name parameter to session constructors is deprecated and has no effect as of this version. All loggers are now the same (i.e. logging.getLogger(__name__))
  • Support for non-conformal endpoints in automatic entity wrapper handling; this fixes #96 and all similar issues one could easily run into
  • Numerous deprecations (see CHANGELOG for details)
  • End support for Python 3.5 / add support for Python 3.10
  • Documentation overhaul