JMA Client
JMA Client
Section titled “JMA Client”1.0.0 (API 9.1.0)
Section titled “1.0.0 (API 9.1.0)”- Refactoring to have a “module” based import:
from pinexq.client.<...>
0.10.6rc1 (API 9.1.0)
Section titled “0.10.6rc1 (API 9.1.0)”- Allow filtering ProcessingSteps by ProCon version property, by exact string match
- Improved some error messages
0.10.5rc1 (API 9.0.0)
Section titled “0.10.5rc1 (API 9.0.0)”- Adopt to new API (query and sort by version, new register action for ProcessingSteps)
- Add missing properties in ProcessingStep HCO
- Handle error on upload
0.10.4rc1 (API 8.8.0)
Section titled “0.10.4rc1 (API 8.8.0)”- Add deployment properties to ProcessingStep HCO
- Add remote endpoint to
Info->Remote - Add missing
nameproperty to In/OutputDataSlotHco - Fix naming
processing_step_hco.deprecated_on->processing_step_hco.deprecated_at
0.10.3rc1 (API 8.8.0)
Section titled “0.10.3rc1 (API 8.8.0)”- Adapt to new jma api with processing step deployment features.
0.10.0.20251104.57 (API v8.6.0)
Section titled “0.10.0.20251104.57 (API v8.6.0)”- Integrate API events into client
- Wait for job completion will now use API events (SSE) removing the need for polling
- Extend and improve JobGroup to use API event for monitoring the progress
- new function:
wait_any() - Use set to ensure uniqueness of monitored jobs
- better error messages
- new function:
- Add client side caching so some long lived resources (determined by cache headers of API)
- Timeouts are now provided in seconds
- Expose endpoints for API events and image registry in
Infoendpoint
0.9.2.20251028.52 (API v8.5.0)
Section titled “0.9.2.20251028.52 (API v8.5.0)”- Processing steps can now be deprecated. Jobs using deprecated processing steps can not be started.
0.9.2.20250908.48 (API v8.3.0)
Section titled “0.9.2.20250908.48 (API v8.3.0)”- Separate admin and normal query for used tags for Jobs, steps and Workdatas.
- Fix for select_processing function in job convenience class in case multiple processing steps with same name exist
0.9.2.20250828.47 (API v8.2.0)
Section titled “0.9.2.20250828.47 (API v8.2.0)”- Can delete Processing step if the step is not used by any job.
0.9.2.20250827.46 (API v8.1.0)
Section titled “0.9.2.20250827.46 (API v8.1.0)”- Can copy WorkData and Processing steps from organization to user and conversely user to organization.
0.9.2.20250728.45 (API v8.0.0)
Section titled “0.9.2.20250728.45 (API v8.0.0)”- Add organizaion_id to InfoHco
- Rename user groups to user grants everywhere
0.9.2.20250515.43 (API v7.6.0)
Section titled “0.9.2.20250515.43 (API v7.6.0)”- Adapt to new capabilities in API version 7.6.0
- Can execute new action RapidJobSetup to create and configure the job in a single request.
- Add helper function in job helper to execute this action and return Job instance.
- Add a new function ‘wait_for_completion’ in job convenience class to wait for job completion
- Uploaded WorkData file can now have non-ascii characters in its filename
0.9.2.20250506.42 (API v7.5.0)
Section titled “0.9.2.20250506.42 (API v7.5.0)”- Adapt to new capabilities in API version 7.5.0
- Can hide processing steps, ability to query processing steps by IsConfigured parameter
- Job now keeps track of its started time, if it has been started
0.9.2.20250403.1 (API v7.4.0)
Section titled “0.9.2.20250403.1 (API v7.4.0)”- Expose owner id on WorkData, Job and ProcessingStep
0.9.2.20250317.3 (API v7.3.1)
Section titled “0.9.2.20250317.3 (API v7.3.1)”- Refactored import structure in
__init__.pyfiles to ease usage - Bugfixes in integration tests
- Added integration tests for API helpers in ProCon
- Added version selection for
Job.select_processing()
0.9.1.20241213.2 (API v7.3.1)
Section titled “0.9.1.20241213.2 (API v7.3.1)”- Fix missing
Nameproperty for DataSlots in Job - Fix: relax deserialization so additional fields can be ignored (for DataSlots)
0.9.0.20241203.1 (API v7.3.0)
Section titled “0.9.0.20241203.1 (API v7.3.0)”- Adapt to new capabilities in API version 7.3.0
0.8.0 (API v7.2.0)
Section titled “0.8.0 (API v7.2.0)”- Adapt to new API
- Extend ProcessingStep registration and editing parameters to allow versions to be set and edited
- ProcessingStep versions are now used everywhere
0.7.0.20241113.1 (API v7.1.0)
Section titled “0.7.0.20241113.1 (API v7.1.0)”Convenience wrappers:
- expose wrapped hco for Job, WorkFlow and ProcessingStep. Rename e.g. job._job -> job.job_hco
- on delete of Job, WorkFlow and ProcessingStep the internal HCO will be set to None, added checks for better error messages
- from_hco() functions no longer require a client, the one from the hco is extracted
- Job.delete_subjobs_with_data() now is recursive. It calls itself for subjobs (with same parameters)
Link:
- All Link now have a exists() function which returns true if the resource can be retrieved
- Link equality now uses target URL for comparison (not object reference)
Misc:
- Added media types for workflows WORKFLOW_DEFINITION and WORKFLOW_REPORT
- Fix job_hco now exposes current parameters of the job
0.5.0.20241018.1 (API v6.2.4)
Section titled “0.5.0.20241018.1 (API v6.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 v6.2.3)
Section titled “0.4.2.20241009.1 (API v6.2.3)”- Automatic configuration of API version is set on the build of the PDM package.
- Updated processing step
createandfrom_namefunctionality 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 v6.2.1)
Section titled “0.4.0.2024.717.1 (API v6.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:NotAvailableExceptionApiExceptionand derived:TemporarilyNotAvailableException,TooManyRequestsException
- Removed logger for now and replace with
warningsfor 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 pagesiter_flat()giving the flat objects
0.3.0.20240620.2 (API v6.2.0)
Section titled “0.3.0.20240620.2 (API v6.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-clienttopinexq-client - Changed module name for import from
hypermedia_clienttopinexq_client - Package now available on PyPi
2024.0523.1
Section titled “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
Section titled “2024.0410.1”- job helper can now add tags
- version check ignores patch versions when comparing client to API versions