Generic methods tu use amqp
Project description
Introduction
Generic methods to use amqp
Changelog
0.9 (2024-02-12)
Raised a ValueError in utils.next_scan_id when found highest id doesn’t start with scan_type parameter. [sgeulette]
0.8 (2024-02-12)
Improved utils.next_scan_id to check if found highest id starts well with scan_type parameter. [sgeulette]
Added gh actions for tests. [sgeulette]
0.7 (2022-10-28)
Corrected parameter typo in utils.next_scan_id and utils.scan_id_barcode. Added sphinx compliant doc strings. [sgeulette]
0.6 (2021-04-21)
In utils.highest_scan_id, avoid 2 return for lisibility. [gbastien]
0.5 (2019-09-24)
Skip empty scan_id in highest_scan_id method. [sgeulette]
0.4 (2018-01-22)
Corrected unused parameters in consume function. [sgeulette]
Corrected method not called => made a property. [sgeulette]
Handle several portal types in search. Take the first one for creation [sgeulette]
0.3 (2017-12-18)
Removed commit method that tried to manage retry of failing commits, queuing does not manage order, this will be managed another way when necessary. [gbastien]
Added method consume that is the default method called by consumers to consume a message using the create_or_update method. [gbastien]
0.2 (2017-11-27)
Added possibility to handle several portal_types in methods utils.highest_scan_id, utils.next_scan_id and utils.scan_id_barcode. [gbastien]
In utils.highest_scan_id, do the portal_catalog search unrestricted so we are sure that every elements are found. [gbastien]
Make it possible to use a different portal_type for query or creation. This is useful if consumer.file_portal_type returns several portal_types, we need to know which of the returned portal_types we need to use for file creation. [gbastien]
0.1 (2017-06-01)
Some improvements [sgeulette]
Initial release, inspired from imio.dms.amqp. [gbastien]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file imio.zamqp.core-0.9.tar.gz
.
File metadata
- Download URL: imio.zamqp.core-0.9.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0183da7d8e186e231474cb3f2b161cce6f59e15d4cc599f7999ccee90b14e66e |
|
MD5 | ed9882e60c6b651f1f2030c8b33324c7 |
|
BLAKE2b-256 | a70aabd9c6394ea769d4b8aaff53ada481aef4308f3a78c49d32928b35f9313c |