Asyncprawcore

Latest version: v2.4.0

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

Scan your dependencies

Page 2 of 2

1.5.1

------------------

**Changed**

- Improved preprocessing for ``data`` and ``params`` in ``Session.request()``.

1.5.0

------------------

**Added**

- :meth:`.Requestor.request` can be given a timeout parameter to control the amount of
time to wait for a request to succeed.

**Changed**

- Added preprocessing for ``data`` and ``params`` in ``asyncprawcore.Session.request()``
for compatibility with ``aiohttp``.

**Fixed**

:class:`RateLimiter` will not sleep longer than ``next_request_timestamp``.

**Fixed**

- Keys with a ``None`` value in the ``data`` or ``params`` parameters for
``asyncprawcore.Session.request()`` are now dropped as
``aiohttp.ClientSession.request()`` does not accept ``None`` values in ``data`` and
``params``.
- Keys with a boolean value in the ``params`` parameter for
``asyncprawcore.Session.request()`` are now casted to a string as
``aiohttp.ClientSession.request()`` does not accept boolean values in ``params``.

1.4.0.post2

------------------------

**Fixed**

- How files are handled. ``data`` is now able to be passed with ``files`` since
asyncpraw can make requests with both parameters.
- Fixed ``SpecialException`` not able to get ``response.json()`` since it is a
coroutine.

1.4.0.post1

------------------------

**Fixed**

- Documentation errors.
- ``authorize_url`` will correctly return a ``str`` instead of ``yarl.URL()``.

1.4.0

------------------

- Converted from ``requests`` to ``aiohttp`` for asynchronous operation.
- Updated upto version 1.4.0 of prawcore.
- Forked from `praw-dev/prawcore <https://github.com/praw-dev/prawcore>`_

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.