- Notifications
You must be signed in to change notification settings - Fork673
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Draft
vishes-shell wants to merge50 commits intopython-gitlab:mainChoose a base branch fromvishes-shell:master
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Draft
Changes fromall commits
Commits
Show all changes
50 commits Select commitHold shift + click to select a range
791de22
feat: replace requests with httpx
vishes-shellfb90a89
test: create TestGitlabList for async way
vishes-shell3b90d09
test: add pytest test dependency and remove sync TestGitlabList
vishes-shelld9d9af8
test: refactor TestGitlabHttpMethods to async way
vishes-shellc2614e2
test: fix TestGitlabAuth
vishes-shell38183a6
test: mostly transfer TestGitlab to async path
vishes-shell882cc2c
fix: remove pickability for GitlabClient
vishes-shellf694b20
test: transfer all test_mixins to async
vishes-shella8ef796
test: rework application tests in async way
vishes-shell4352f9b
test: rework tests on projects snippets in async way
vishes-shell37dbc09
fix: response content is not async
vishes-shell1563b7d
fix: add missing awaits in v4 objects
vishes-shellf933cd0
fix: use `overwrite` as string in import project method
vishes-shellefb1424
test: add integration tests in async way
vishes-shell1bf2968
test: change tox to pytest and keep integration test file name
vishes-shellcf8e233
Merge pull request #1 from vishes-shell/feature/httpx-based
vishes-shell0591787
feat(async): Make on_http_error decorator work with coroutines
vishes-shell55f8439
feat(async): roll back sync cli wrapper
vishes-shell0585d6a
feat(async): move GitlabList to types
vishes-shell4528543
feat(sync): implement sync and async gitlab clients
vishes-shellc4117e1
feat(async): Provide httpx client classes to gitlab clients
vishes-shelle43a010
feat(async): fullfill RESTObjectList with sync and async methods
vishes-shell46c0369
feat(async): clean __init__.py
vishes-shell933b781
feat(async): make base object classes async compatible
vishes-shell47b41d5
feat(async): make mixins async/sync compatible
vishes-shella14383b
feat(async): fixup some errors in async implementation
vishes-shell34666c7
test: fix all tests that are async
vishes-shellebc8327
test: parametrize test_gitlab to handle both async and sync clients
vishes-shella2004ff
test: test_gitlab is now sync agnostic
vishes-shell3554a04
test: fix test_gitlab and move to pytest
vishes-shell090af39
test: create fixtures for async and sync gitlab clients usage
vishes-shell7b18338
test: update test_gitlab to use brand new fixtures
vishes-shell1aa8c21
feat(async): no more async and await in objects' methods
vishes-shell0c4d320
feat(async): make utils.response_content sync agnostic
vishes-shell6d0e2cb
test: test application is tested against async/sync interface
vishes-shell06e1c53
test: test_projects is tested against sync and async interface
vishes-shell52625a5
test: split sync and async functional tests
vishes-shell608c937
feat(async): split edge postprocesses in v4 objects
vishes-shellb2d06fa
feat(async): decorate _update_attrs with awaitable_postprocess
vishes-shellcda364d
feat(async): wrap remaining object post functions in awaitable_postpr…
vishes-shell608668c
fix(async): fix typos in code
vishes-shell0b4b4e4
test: remove debugging from functional tests
vishes-shelld8f3dec
Merge pull request #3 from vishes-shell/feature/sync-async-compatible
vishes-shell2ee7f37
chore: provide docstrings for gitlab client implementations
vishes-shell944ee65
Merge pull request #5 from vishes-shell/chore/client-dry-docstrings
vishes-shell5eea6ae
Bump httpx and respx
vishes-shell8ba7759
Bump httpx version in setup.py
vishes-shell8ca0521
Install requires with package, not just version
vishes-shellf94dba1
Import unresolved exception classes in gitlab client
vishes-shellfc824c2
Bump httpx
vishes-shellFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletions.gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -9,3 +9,5 @@ docs/_build | ||
.testrepository/ | ||
.tox | ||
venv/ | ||
tags | ||
.venv/ |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.