Skip to content

v3.1.0

Compare
Choose a tag to compare
@ehrenfeu ehrenfeu released this 28 Jun 09:27
· 17 commits to main since this release

Added

  • pyppms.common.fmt_time() to string-format a datetime object that might also be None (in which case a fixed string is returned).
  • pyppms.booking.PpmsBooking.desc has been added as a property to retrieve a shorter description of the object than calling str() on it.
  • pyppms.exceptions.NoDataError has been added to indicate a PUMAPI response did not contain any useful data.
  • pyppms.common.parse_multiline_response() will now raise the newly added NoDataError in case the requested runningsheet for a day doesn't contain any bookings to allow for properly dealing with "empty" days.

Changed

  • Several log messages have been demoted from debug to trace level and might have been shortened / combined to reduce logging clutter.