Prawcore

Latest version: v2.4.0

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

Scan your dependencies

Page 2 of 8

1.4.0

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

**Added**

- When calling :meth:`.Session.request`, we add the key-value pair ``"api_type":
"json"`` to the ``json`` parameter, if it is a ``dict``.

**Changed**

- (Non-breaking) Requests to ``www.reddit.com`` use the ``Connection: close`` header to
avoid warnings when tokens are refreshed after their one-hour expiration.

1.3.0

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

**Added**

- All other requestor methods, most notably :meth:`.Session.request`, now contain a
``timeout`` parameter.

1.2.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**

- Updated rate limit algorithm to more intelligently rate limit when there are extra
requests remaining.

**Removed**

- Drop python 2.7 support.

1.0.1

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

**Fixed**

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

1.0.0

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

I am releasing 1.0.0 as prawcore is quite stable and it's unlikely that any breaking
changes will need to be introduced in the near future.

**Added**

- Log debug messages for all sleep times.

0.15.0

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

**Added**

- ``SpecialError`` is raised on HTTP 415.

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.