Async-extensions

Latest version: v4.0.0

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

Scan your dependencies

Page 1 of 4

4.0.0

Changes

- Migrated to the latest `wraps` version.

3.1.2

Internal

- `is_no_default` now accepts `Any` as the argument; since `NoDefaultOr[T]` is not used anymore,
it was removed.

3.1.1

Internal

- `async_iter_any_iter` now uses `is_iterable_with_iter` to ensure correctness.

3.1.0

Features

- Added `async_next_any_iter`.

3.0.1

Changes

- Type names are now used instead of instance representations in errors raised by
`async_iter`, `async_next` and `async_iter_any_iter`.

3.0.0

Features

- Added `as_completed`, `as_completed_results` and `as_completed_tagged_results`.
- Added `NormalResult[T] = Result[T, NormalError]`.
- Added `normal_result_of` to catch errors and wrap them.
- Added `TaggedResult[T, E]` for results tagged with `int`.
- Added `NormalTaggedResult[T] = TaggedResult[T, NormalError]`.
- Added `normal_tagged_result_of`, akin to `normal_result_of` but attaching some tag.
- Added `async_iter_unchecked` and `async_next_unchecked` which do not check whether the
argument has the appropriate type; also added `async_iter_any_iter` to convert `AnyIterable[T]`
into `AsyncIterator[T]`.
- Exported `DEFAULT_BACKEND` and `DEFAULT_SHIELD`.
- Exported `Process` and `async_close`.

Changes

- Renamed `MemorySendChannel` and `MemoryReceiveChannel` to
`MemorySendStream` and `MemoryReceiveStream` respectively.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.