Skip to content

Async and sync compatible wrapper #1036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 50 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
791de22
feat: replace requests with httpx
vishes-shell Feb 18, 2020
fb90a89
test: create TestGitlabList for async way
vishes-shell Feb 19, 2020
3b90d09
test: add pytest test dependency and remove sync TestGitlabList
vishes-shell Feb 19, 2020
d9d9af8
test: refactor TestGitlabHttpMethods to async way
vishes-shell Feb 19, 2020
c2614e2
test: fix TestGitlabAuth
vishes-shell Feb 19, 2020
38183a6
test: mostly transfer TestGitlab to async path
vishes-shell Feb 19, 2020
882cc2c
fix: remove pickability for GitlabClient
vishes-shell Feb 19, 2020
f694b20
test: transfer all test_mixins to async
vishes-shell Feb 19, 2020
a8ef796
test: rework application tests in async way
vishes-shell Feb 20, 2020
4352f9b
test: rework tests on projects snippets in async way
vishes-shell Feb 20, 2020
37dbc09
fix: response content is not async
vishes-shell Feb 21, 2020
1563b7d
fix: add missing awaits in v4 objects
vishes-shell Feb 21, 2020
f933cd0
fix: use `overwrite` as string in import project method
vishes-shell Feb 21, 2020
efb1424
test: add integration tests in async way
vishes-shell Feb 21, 2020
1bf2968
test: change tox to pytest and keep integration test file name
vishes-shell Feb 21, 2020
cf8e233
Merge pull request #1 from vishes-shell/feature/httpx-based
vishes-shell Feb 22, 2020
0591787
feat(async): Make on_http_error decorator work with coroutines
vishes-shell Feb 27, 2020
55f8439
feat(async): roll back sync cli wrapper
vishes-shell Feb 27, 2020
0585d6a
feat(async): move GitlabList to types
vishes-shell Feb 27, 2020
4528543
feat(sync): implement sync and async gitlab clients
vishes-shell Feb 27, 2020
c4117e1
feat(async): Provide httpx client classes to gitlab clients
vishes-shell Feb 27, 2020
e43a010
feat(async): fullfill RESTObjectList with sync and async methods
vishes-shell Feb 27, 2020
46c0369
feat(async): clean __init__.py
vishes-shell Feb 28, 2020
933b781
feat(async): make base object classes async compatible
vishes-shell Feb 28, 2020
47b41d5
feat(async): make mixins async/sync compatible
vishes-shell Feb 28, 2020
a14383b
feat(async): fixup some errors in async implementation
vishes-shell Feb 28, 2020
34666c7
test: fix all tests that are async
vishes-shell Feb 28, 2020
ebc8327
test: parametrize test_gitlab to handle both async and sync clients
vishes-shell Feb 28, 2020
a2004ff
test: test_gitlab is now sync agnostic
vishes-shell Feb 29, 2020
3554a04
test: fix test_gitlab and move to pytest
vishes-shell Feb 29, 2020
090af39
test: create fixtures for async and sync gitlab clients usage
vishes-shell Feb 29, 2020
7b18338
test: update test_gitlab to use brand new fixtures
vishes-shell Feb 29, 2020
1aa8c21
feat(async): no more async and await in objects' methods
vishes-shell Feb 29, 2020
0c4d320
feat(async): make utils.response_content sync agnostic
vishes-shell Feb 29, 2020
6d0e2cb
test: test application is tested against async/sync interface
vishes-shell Feb 29, 2020
06e1c53
test: test_projects is tested against sync and async interface
vishes-shell Feb 29, 2020
52625a5
test: split sync and async functional tests
vishes-shell Mar 3, 2020
608c937
feat(async): split edge postprocesses in v4 objects
vishes-shell Mar 4, 2020
b2d06fa
feat(async): decorate _update_attrs with awaitable_postprocess
vishes-shell Mar 4, 2020
cda364d
feat(async): wrap remaining object post functions in awaitable_postpr…
vishes-shell Mar 4, 2020
608668c
fix(async): fix typos in code
vishes-shell Mar 4, 2020
0b4b4e4
test: remove debugging from functional tests
vishes-shell Mar 4, 2020
d8f3dec
Merge pull request #3 from vishes-shell/feature/sync-async-compatible
vishes-shell Mar 4, 2020
2ee7f37
chore: provide docstrings for gitlab client implementations
vishes-shell Mar 5, 2020
944ee65
Merge pull request #5 from vishes-shell/chore/client-dry-docstrings
vishes-shell Mar 5, 2020
5eea6ae
Bump httpx and respx
vishes-shell Sep 14, 2020
8ba7759
Bump httpx version in setup.py
vishes-shell Sep 14, 2020
8ca0521
Install requires with package, not just version
vishes-shell Sep 14, 2020
f94dba1
Import unresolved exception classes in gitlab client
vishes-shell Oct 1, 2020
fc824c2
Bump httpx
vishes-shell May 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ docs/_build
.testrepository/
.tox
venv/
tags
.venv/
Loading