Resty-client

Latest version: v0.0.6

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

Scan your dependencies

0.0.6

- Changed Manager API:

Now instantiating manager is required.

You can pass the REST Client into the constructor:

python
manager = UserManager(client=client)

response = await manager.read(
response_type=UserReadSchema,
)


or specify the client explicitly during calling:

python
manager = UserManager()

response = await manager.read(
response_type=UserReadSchema,
client=client,
)


- Added Django pagination middlewares:

- `LimitOffsetPaginationMiddleware`
- `PagePaginationMiddleware`

0.0.5

- Improved test coverage to 100%
- Improved architecture
- Added examples

0.0.4

- Manager important fixes!!!!

0.0.3

- Refactored manager & httpx client
- Added more examples
- Added serializer tests
- Added URL injecting mechanism (allows to perform many-layer requests: `api/v1/users/123/product/321`).
See [example](../examples/crud_many_layers)
- Added deserialize_many serializer method

0.0.2

- Serializer many schemas support

0.0.1

First release of RestyClient

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.