swh-lister/docs
Antoine Lambert db6ce12e9e Refactor and deduplicate HTTP requests code in listers
Numerous listers were using the same page_request method or equivalent
in their implementation so prefer to deduplicate that code by adding
an http_request method in base lister class: swh.lister.pattern.Lister.

That method simply wraps a call to requests.Session.request and logs
some useful info for debugging and error reporting, also an HTTPError
will be raised if a request ends up with an error.

All listers using that new method now benefit of requests retry when
an HTTP error occurs thanks to the use of the http_retry decorator.
2022-09-26 10:48:40 +02:00
..
_static docs/: add sphinx apidoc generation skeleton 2017-08-30 12:25:37 +02:00
_templates docs/: add sphinx apidoc generation skeleton 2017-08-30 12:25:37 +02:00
images docs: integrate swh-lister tutorial 2017-11-02 17:53:30 +01:00
.gitignore docs/: add sphinx apidoc generation skeleton 2017-08-30 12:25:37 +02:00
cli.rst Add a cli section to the doc 2021-01-05 11:53:22 +01:00
conf.py docs/: add sphinx apidoc generation skeleton 2017-08-30 12:25:37 +02:00
index.rst docs: Add a save forge documentation 2021-10-08 16:07:40 +02:00
Makefile docs/: add sphinx apidoc generation skeleton 2017-08-30 12:25:37 +02:00
new_lister_template.py Refactor and deduplicate HTTP requests code in listers 2022-09-26 10:48:40 +02:00
run_a_new_lister.rst Fix ReST syntax 2022-01-21 11:04:51 +01:00
save_forge.rst docs: Explain task type registering to complete the save forge doc 2021-10-08 16:07:41 +02:00
tutorial.rst Use generic HTTP retry policy by default and rename dedicated decorator 2022-09-26 10:48:40 +02:00