Aiuti

Latest version: v0.8

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

Scan your dependencies

Page 1 of 2

0.8

Change Log:
- Refactored `threadsafe_async_cache()` to internally use `asyncio.Event` in a threadsafe manor to avoid additional lock waiting threads

0.7.1

Change Log:
- Fixed potential for deadlocked threads when cancelling tasks using `threadsafe_async_cache()`

0.7

Change Log:
- Added a `cache` parameter to `threadsafe_async_cache` to allow providing an alternative cache object
- Added `TypeAlias`, `ParamSpec`, `ParamSpecArgs`, `ParamSpecKwargs`, and `Concatenate` to the typing module as poly-filled fallbacks
- Added generic type var `F` for any callable function
- Updated async code to use `get_running_loop()` instead of `get_event_loop()` internally
- Fixed potential threadsafety issue in `threadsafe_async_cache()` by not relying on the GIL while making locks

0.6

Change Log:
- Added `batch_timeout` configuration for `AsyncBackgroundBatcher`
- Added handling for event loop shutdown in `AsyncBackgroundBatcher` to avoid log spam
- Improved thread-safety of `ensure_aw()` and `loop_in_thread()`

0.5

Change Log:
- Added the `AsyncBackgroundBatcher` class and `async_background_batcher()` decorator
- Dropped support for Python 3.6

0.4.2.post0

Change Log:
- Fixed copyright notice in LICENSE

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.