Aiorequestful

Latest version: v1.0.2

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

Scan your dependencies

Page 2 of 3

0.5.1

Changed
-------
* Removed ability to pass response to methods in :py:class:`.AuthResponseHandler`.
Now only the stored response is used always.

Fixed
-----
* Headers not passed to response tester. Now works as expected.

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

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.