Skip to content

JMA Client

0.5.0.20241018.1

API version: 6.2.4

  • add access to new admin features to manage broken jobs
  • links and actions can now be checked for availability by using .is_available() or overloaded __bool__ which allows use in if statements directly
  • added new filter for jobs createdBefore and createdAfter

0.4.2.20241009.1

API version: 6.2.3

  • Automatic configuration of API version is set on the build of the PDM package.
  • Updated processing step create and from_name functionality are default to version “0”.
  • Added convenience functionality to assist user to get all the versions in case of version collision with processing step function name.

0.4.0.2024.717.1

API version: 6.2.1

  • Improved handling error states so messages by the API are passed as exceptions and pretty printed
  • Improved error message when action or link is used that is not available
  • enter_api() now gives proper error messages
  • Introduced exceptions to allow better error handling:
    • ClientExceptionand derived: NotAvailableException
    • ApiException and derived: TemporarilyNotAvailableException, TooManyRequestsException
  • Removed logger for now and replace with warnings for user convenience (see errors without configuring a logger)
  • Added convenience class: JobGroup
    • start all
    • wait for all
  • Added convenience function to delete a job and related data: job.delete_with_associated(...)
  • Added convenience function to download a WorkData: workdata.download()
  • Made query result of WorkData, Jobs and ProcessingSteps iterable so navigation to the next page of results is done automatically:
    • iter() giving the query pages
    • iter_flat() giving the flat objects

0.3.0.20240620.2

API version: 6.2.0

  • Added delete job action.
  • Implemented missing ProcessingStep actions: edit properties, upload configuration, configure default parameters and clear default parameters.
  • Add convenience classes for WorkData and ProcessingStep similar to Job’s convenience class.
  • Changed package name from datacybernetics-job-management-hypermedia-client to pinexq-client
  • Changed module name for import from hypermedia_client to pinexq_client
  • Package now available on PyPi

2024.0523.1

  • WorkData for a job’s input/output DataSlots can now be collections. Configure DataSlots with WorkData now accepts multiple WorkData
  • Rename of inconsistent Property in Job CreatedOn-> CreatedAt

2024.0410.1

  • job helper can now add tags
  • version check ignores patch versions when comparing client to API versions