Arrest

Latest version: v0.1.10

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

Scan your dependencies

Page 1 of 2

1.10.13

0.1.10

Latest Release

Arrest's latest release adds a bunch of improvements, and features for better developer experience.
To check the full release notes, please refer to https://s-bose.github.io/arrest/whats-new/

0.1.9

Patch Release

0.1.8

What's Changed
* Added optional OpenAPI Integration to automatically generate the Pydantic models, Arrest resources and services from the specification
* Bump jinja2 from 3.1.2 to 3.1.3 by dependabot in https://github.com/s-bose/arrest/pull/18
* Bump gitpython from 3.1.40 to 3.1.41 by dependabot in https://github.com/s-bose/arrest/pull/17
* Openapi dev by s-bose in https://github.com/s-bose/arrest/pull/19
* Openapi dev by s-bose in https://github.com/s-bose/arrest/pull/21

New Contributors
* dependabot made their first contribution in https://github.com/s-bose/arrest/pull/18

**Full Changelog**: https://github.com/s-bose/arrest/compare/0.1.5...0.1.8

0.1.5

This version adds a bunch of new features. Listed below.

* Added support for most of the HTTPX client arguments as kwargs to be passed into both Service and Resource class. This includes things like cookies, auth, transport, cert etc. That way you can reuse a transport object in all your resources / services.
* Added backoff retries for all the http calls with configurable no. of retries.
* Added support for providing your own `httpx.AsyncClient` instance as a field in both Service and Resource class. This can also be any other class that subclasses `httpx.AsyncClient` (for example, the Oauth2 client from authlib).
* Added a new decorator `.handler(...)` for a resource to decorate a custom user-defined function for a resource sub-path. This enables more fine-grained control over the http calls and also injects the a reference to the resource instance inside the function for easier access.
* General bug fixes
* Documentation changes

0.1.4

Changes

- Fix 11 - url paths are now constructed using `posixpath`. Assuming all the components of the path are put in a hierarchical manner (service -> resource -> handler)
- Refactor docs - minor typos

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.