Skip to content

v2.0.0

Compare
Choose a tag to compare
@ehrenfeu ehrenfeu released this 26 Aug 07:08
· 75 commits to main since this release

Changes in pyppms 2.0.0

  • [API] the constructor signature for PpmsUser() has been changed and now expects a single argument (the PUMAPI response text)
  • [API] the constructor signature for PpmsSystem() has been changed and now expects a single argument (a dict as generated by pyppms.common.parse_multiline_response())
  • [API] the constructor signature for PpmsBooking() has been changed and now expects the PUMAPI response text, the booking type (if the booking is currently running or upcoming) and the system ID
  • [API] the following methods have been removed as their behavior is now achieved by the corresponding default constructor of the respective class:
    • PpmsUser.from_response()
    • PpmsSystem.from_parsed_response()
    • PpmsBooking.from_booking_request()