Misty2py

Latest version: v5.0.0

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

Scan your dependencies

Page 1 of 3

5.0.0

Changed

- The class `Post` was renamed to the class `BodyRequest` as it represents all HTTP requests with a body.
- Classes `Action`, `Info`, `Get`, `Post`, `MistyEvent` and `MistyEventHandler` now require a `protocol` parameter.
- Classes `MistyEvent` and `MistyEventHandler` now require an `endpoint` parameter.
- The class `Misty` has new optional parameters `rest_protocol`, `websocket_protocol` and `websocket_endpoint`.
- Updated documentation.

Added

- `Action` supports all HTTP request methods except for GET, which is supported by `Info`.
- Different protocols (`http`, `https`, `ws` and `wss`) are now supported by `Action` (`http`, `https`), `Info` (`http`, `https`) and `MistyEvent` (`ws` and `wss`).
- Unit tests for `Status`, `ActionLog` and every module in `misty2py.basic_skills`.
- The module `misty2py.response` to represent responses.

Fixed

- The method `misty2py.utils.status::get_` returns `None` if queried for a non-existent key.
- Other minor fixes in tests, documentation and print statements.

Removed

- The entire module `misty2py.utils.messages` as it was replaced by `misty2py.response`.

4.2.1

Added

- Link to the online documentation

4.2.0

Changed

- Updated docstrings in the entirity of the main package.

Added

- Added HTML documentation.

4.1.5

Changed

- More detailed error messages.
- Adherance to PEP 8.

4.1.4

Fixed

- a build import in `misty2py.basic_skills.expression`

4.1.3

Added

- project directory to `.env.example`
- unit tests with 86% coverage

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.