Scrapinghub-autoextract

Latest version: v0.6.0

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

Scan your dependencies

Page 1 of 2

0.6.0

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

* CLI changes: error display in the progress bar is changed;
summary is printed after the executions
* more errors are retried when retrying is enabled, which allows for a higher
success rate
* fixed tcp connection pooling
* ``autoextract.aio.request_raw`` function allows to pass custom headers
to the API (not to remote websites)
* ``autoextract.aio.request_raw`` now allows to customize the retry
behavior, via ``retrying`` argument
* ``tenacity.RetryError`` is no longer raised by the library; concrete errors
are raised instead
* Python 3.9 support
* CI is moved from Travis to Github Actions

0.5.2

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

* ``QueryError`` is renamed to ``_QueryError``, as this is not an error
users of the library ever see.
* Retrials were broken by having userAgent in the userQuery API output;
temporary workaround is added to make retrials work again.

0.5.1

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

* fix a problem that was preventing calls to ``request_raw`` when ``endpoint`` argument was ``None``

0.5.0

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

* add ``--api-endpoint`` option to the command line utility
* improves documentation adding details about ``Request``'s extra parameters

0.4.0

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

``autoextract.Request`` helper class now allows to set arbitrary
parameters for AutoExtract requests - they can be passed in ``extra`` argument.

0.3.0

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

In this release retry-related features are added or improved.
It is now possible to fix some of the temporary errors
by enabling query-level retries, and the default retry behavior is improved.

* **backwards-incompatible**: autoextract.aio.ApiError is renamed
to autoextract.aio.RequestError
* ``max_query_error_retries`` argument is added to
``autoextract.aio.request_raw`` and
``autoextract.aio.request_parallel_as_completed`` functions; it allows to
enable retries of temporary query-level errors returned by the API.
* CLI: added ``--max-query-error-retries`` option to retry temporary
query-level errors.
* HTTP 500 errors from server are retried now;
* documentation and test improvements.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.