Aiorequestful

Latest version: v1.0.7

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

Scan your dependencies

Page 3 of 4

0.5.0

Changed
-------
* :py:class:`.Timer` now supports int and float operations.
* All cache backends no longer rely on JSON based payloads and have been made generic enough
to support all :py:class:`.PayloadHandler` implementations.

Removed
-------
* ``value`` property on :py:class:`.Timer` in favour of using builtin ``int`` and ``float`` calls
to get the timer value.

Documentation
-------
* Add standard info for installing
* Expand and reformat index

0.4.0

Changed
-------
* RequestSettings renamed to :py:class:`.ResponseRepositorySettings`
* :py:meth:`.ResponseRepositorySettings.get_key` now accepts all request kwargs as given by :py:class:`.RequestKwargs`.
In addition, :py:class:`.ResponseRepository` now passes ``method``, ``url``, and ``headers``
to :py:meth:`.ResponseRepositorySettings.get_key`
* ``factor`` renamed to ``exponent`` on power :py:class:`.Timer` implementations
* Renamed serialise method to :py:meth:`.PayloadHandler.deserialize` on :py:class:`.PayloadHandler`

Documentation
-------------
* Expanded docstrings everywhere

0.3.0

Changed
-------
* Rename exceptions: AIORequests... -> AIORequestful...
* Rename references of payload as ``data`` to ``payload``
* Abstract and implement response handling, request timer handling, and payload handling
in new ``request`` and ``response`` modules.
* Migrate all resources relating to requests and responses to relevant modules.

Removed
-------
* MethodInput enum in favour of http.HTTPMethod

0.2.1

Fixed
-----
* Client ID not being passed to :py:meth:`.ClientCredentialsFlow.create` and :py:meth:`.AuthorisationCodeFlow.create`
from relevant create_with_encoded_credentials methods. Now passed correctly.

0.2.0

Added
-----
* OAuth2 Client Credentials flow implementation
* OAuth2 Authorization Code with PKCE flow implementation
* Basic user/password authorisation implementation
* :py:class:`.RequestKwargs` TypedDict


Changed
-------
* Create abstraction for authorise module and convert implementation of OAuth2 Authorization Code flow
to match this interface

0.1.1

* method as str for logging on handler

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.