Sdss-clu

Latest version: v2.2.6

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

Scan your dependencies

Page 3 of 8

2.0.2b1

⚙️ Engineering

* Remove pin on `setuptools` version.

2.0.1

🚀 New

* Added `AMQPClient.add_reply_callback()` which allows to register callback functions that are called with an `AMQPReply` object every time a reply is received. These replies are not filtered and the callback is called for each valid reply.

2.0.0

💥 Breaking changes

* By default `AMQPClient.send_command()` will await the command itself when the method is awaited. This means that `cmd = await client.send_command('my_actor', 'ping')` will await until the `ping` finishes and the replies are received. The previous behaviour can be forced with `await_command=False`, e.g., `cmd = await (await client.send_command('my_actor', 'ping', await_command=False))`. In general this should not be a breaking change since awaiting a done command will return immediately, but it's marked as breaking since in some corner cases there could be some unexpected behaviour.

✨ Improved

* Added an `internal` argument in `CluCommand` that marks the received command as internal.
* Bump `unclick` to `0.1.0b4`.

🏷️ Changed

* When a command status changes to running, the status is emitted as internal.

2.0.0b2

🔧 Fixed

* Fixed asserting of `command_id` and `user_id` in testing module.

2.0.0b1

💥 Breaking changes

* Removed support for Python 3.7.

🚀 New

* Support Python 3.11.
* Use `aio_pika>=9.0.0` and `aiormq>=6.6.4`.
* Support internal replies that are not shown in the CLI. Modified some command to use internal replies.
* Added `get-command-model` command that uses [unclick](https://github.com/albireox/unclick) to return a JSON representation of a command or the entire command parser. This can be used to create a programmatic API that interfaces with an actor using command strings.
* Allow to filter by actor(s) in the CLI.

⚙️ Engineering

* Added `MessageCode` enumeration.

1.9.2

✨ Improved

* The `click` context object can now be access as `Command.context` if the `click` parser is being used.

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.