Releases: datatrails/datatrails-python
Releases · datatrails/datatrails-python
Custom Domain and audit
What's Changed
Full Changelog: v0.9.0...v0.9.1
App Registration
SBOM endpoints
Loosen dependency requirements
2ad2657 Loosen dependency requirements
includes resolution of PEP 597 - specify file encoding for clean Windows support.
Python 3.10
Signed-off-by: Paul Hewlett <[email protected]>
v0.6.0: Rename storage integrity to proof mechanism
Change storage_integrity to proof_mechanism
402 response and retry after 429
Fixed - Deepcopy Archivist fails after use
Added some common code used in archivist-samples
Handle '402 Payment Required' with specific exception
Retry up to 3 times with delao on a '429 Too Many Requests'
Allow behaviours
Specify own behaviours Problem: For testing internally one needs to be able to specify behaviours explicitly without encouraging users to do so. Solution: Insert default behaviours into props argument when creating asset such that any specified on the argument list take precedence. Signed-off-by: Paul Hewlett <[email protected]>
Predefined settings per endpoint
Endpoints with 'fixtures' i.e. predefined attributes and settings
Publish documentation
Assets create uses properties
Settable confirmation wait time
Wait_for_confirmed fails is assets/events do not exist
Sessions release
Unittests mock sessions method inplace Problem: The unittests mocked session methods where they are defined instead of where they are used. Solution: Use mock.patch.object() to mock self.arch._session Signed-off-by: Paul Hewlett <[email protected]>