Easy-py

Latest version: v0.5.7

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

Scan your dependencies

0.5.7

**Changelog**:

- [EZ-1625](https://easy.myjetbrains.com/youtrack/issue/EZ-1625/easy-py-should-ignore-unknown-keys-in-responses): The `easy-py` now incorporates a refinement on the `handle_response` level. Specifically, unknown keys in responses are ignored to prevent the occurrence of `X.__init__() got an unexpected keyword argument 'X'`. In this release, extra fields are filtered out before initialising the object, and missing fields are set to `None` to address the issue of `"X.__init__() missing x required positional arguments`.

- The data classes representing HTTP responses have undergone modification to eliminate default `None` values for parameters. As a result, this version of `easy-py` is no longer compatible with `easy-thonny ≤ 6.4.1`. Previous versions of Thonny created a `SubmissionResp()` object with no passed arguments.

- The functions `simple_get_request` and `get_request` have been merged. Additionally, HTTP response `204` is explicitly mapped to `EmptyResp`, and an unnecessary assert has been removed.

0.5.6

- No changes in the code, update version for republishing without recursively deep build folder

0.5.5

- Added `number` to `SubmissionResp(Resp)`. At the time of release easy does not return the submission `number` with this service, but it might be added near future.

0.5.4

Require easy ≥ [v3.1.1](https://github.com/kspar/easy/releases/tag/v3.1.1).
- Added `is_open` to `ExerciseDetailsResp(Resp)`

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.