Aiokatcp

Latest version: v2.0.1

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

Scan your dependencies

Page 2 of 6

1.6.2

- Make things work on MacOS again.
- CI: Update certifi to a newer version.
- Add a type annotation to prevent an internal error in old versions of mypy.

1.6.1

- Workaround to prevent old versions of mypy (0.780) from throwing an internal
error.

1.6.0

- Add :class:`.DeviceStatus` enum for discrete device-status sensors.
- Add :class:`.TimeSyncUpdater` to assist in writing sensors that monitor time
synchronisation.

1.5.1

- Make PEP 604 union syntax work in handler annotations.
- Speed up message parsing, particularly for messages with thousands of arguments.

1.5.0

- Add :class:`.SimpleAggregateSensor` class to simplify common use cases for
aggregate sensors.
- Improve error reporting when requests are made with too few arguments,
particularly when the handler is wrapped in a decorator.
- Allow handler arguments to be annotated as :class:`Optional[T]`. It's not
possible to provide a ``None`` value on the wire, but this allows the
default value to be ``None`` while complying with mypy's strict mode.
- Update :program:`katcpcmd` and the examples to use :func:`asyncio.run`
instead of manually running the event loop. This eliminates some deprecation
warnings.
- Update pre-commit hook to point to flake8's new Github URL.
- Test on Python 3.11.

1.4.0

- Replace ``None`` with ``''`` for a default sensor description. If no description
is given, the ``?sensor-list`` request would fail. This is now fixed.
- Add :class:`.AggregateSensor` functionality, an abstract class of sensors which
depend on the readings of others for their values.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.