Tomodachi

Latest version: v0.28.3

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

Scan your dependencies

Page 11 of 26

0.16.4

- Fix for the the race condition causing `delete_message` to raise an exception, when draining the SQS receive messages call, while stopping the service.

0.16.3

- It's now possible to get the request object for websocket handlers by adding a third argument to the invoker function. `(self, websocket, request)` or by specifying `request` as a keyword argument in the function signature. Using the request object it's now possible to parse browser headers and other data sent when first opening the websocket connction.
- Updated packages for automated tests to verify that newer dependencies still works correctly.
- Updated the dependency on `aioamqp` to allow `aioamqp==0.13.x`.

0.16.2

- Added keyword arguments for overriding the `topic_prefix` and `routing_key_prefix` when publishing messages. Useful by for example intermediaries that needs to publishing messages to external services running on other environments, or services that are otherwise confined to a prefix / environment but needs to contact a core service, i.e. data collection, emails, etc.

0.16.1

- Bug fix for websocket handler functions signature inspection in middlewares, which caused the function signature to return a non-wrapped internal function.

0.16.0

- Refactored all internal middleware functionality to use the same base function for executing middlewares.
- A middleware context will be passed into the middlewares as the optional fifth argument, a `dict` that will live within the middleware excecution and may pass data along from middleware to middleware.

0.15.1

- Middlewares first argument `func: Callable` will now be wrapped with the endpoint function, using `functools.wraps`, so that signatures and keywords may be inspected and applied accordingly. (github: **0x1EE7**)

Page 11 of 26

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.