Async and sync compatible wrapper by vishes-shell · Pull Request #1036 · python-gitlab/python-gitlab
and others added 30 commits
Make all functions async Use httpx instead of httpx Make decorators async to correctly wrap async methods
This possibly is temporary solution because httpx raises TypeError when tries to init DataField with bool value
on_http_error should work with sync functions that return coroutines and handle errors when coroutines will be awaited
Basic principle is that we won't use constructor to create object, instead classmethod would be used that return either object or corotine that returns object
nejch
mentioned this pull request
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