Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR lays the foundation for the asynchronous HTTP Client
The following classes are introduced:
Testing
Basic unit tests have been introduced, see
test_http.py
. Test configuration will be inconftest.py
. ATM I'm testing it locally, it's a bit early for a full CI. I'll make sure we get that as soon as we have a few extra tests. For now, just dopytest -s
.Documentation
We've got docstrings so far, and the sphinx build is working:
python -m sphinx docs docs/_build
. The cool thing is that we can now point to the documentation of other projects, for example whenever a parameter has typeaiohttp.BasicAuth
, the docs are actually going to point to that type, and the project's documentation url is derived automatically using theintersphinx_mapping
.I wanted to add support for numpy docstrings, because of their concise format, but that would be in a later PR, see this example for details.
Version adjustments
Some of the pre-commit tools were bumped to a more recent version (we should do that at some point also at python-arango.
Note: I have created a page for development ideas