Ayeaye

Latest version: v0.1.2

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 12

0.0.54

Added
- a custom exception for when a subtask fails
- optional PartitionedModel.partition_subtask_failed hook to allow models to handle subtask exceptions

Changed
- default behaviour on subtask fail in a PartitionedModel to raise the SubTaskFailed exception
- LocalProcessPool to cleanup orphan Processes on deconstruction
- TaskFailed to include a couple of extra fields - model_class_name and resolver_context

0.0.53

Fixed
- serialised task messages were being yielded by `LocalProcessPool`

0.0.52

Added
- richer classes (ayeaye.runtime.task_message) for task message within processing pool

Changed
- yield type from `AbstractProcessPool.run_subtasks`

Removed
- ayeaye.runtime.multiprocess.MessageType

0.0.51

Added
- AbstractProcessPool to make it easier to add custom process pools - see the Fossa project

Changed
- PartitionedModel to have injectable :class:`AbstractProcessPool`
- ProcessPool - moved arguments from constructor to run_tasks to make it easier to customise subclasses of ProcessPool
- renamed: ProcessPool to LocalProcessPool to clarify the difference with the new pool being created in the Fossa project

Removed
- model_initialise option in ProcessPool as ProcessPool is only used by PartitionedModel which doesn't use it and it's simplier without.

0.0.50

Added
- common pattern to make it easy to add datasets to a MultiConnector
- `method_overlay` argument to Connector to allow explicit naming of the new method which makes it
cleaner and more intuative with callables (instead of plain functions)

0.0.49

Added
- Two optional args to CsvConnector. 'quoting' - to pass a mode through to the CSV module and 'transform_map' so a callable can be used at the field level. This is a useful mechanism to make small field level adjustments (e.g. tranforming types) during IO.

Fixed
- RestfulConnector using wrong fieldname within an exception

Page 4 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.