Skip to content

Resty-Client V0.0.6

Latest
Compare
Choose a tag to compare
@CrazyProger1 CrazyProger1 released this 29 Apr 12:26
6517869

v0.0.6

  • Changed Manager API:

Now instantiating manager is required.

You can pass the REST Client into the constructor:

manager = UserManager(client=client)

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

or specify the client explicitly during calling:

manager = UserManager()

response = await manager.read(
    response_type=UserReadSchema,
    client=client,
)
  • Added Django pagination middlewares:

    • LimitOffsetPaginationMiddleware
    • PagePaginationMiddleware