Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: make all query builders generic * feat: return generic request builders from client methods * chore: use typing.List instead of builtin * chore: use typing.List * fix: correct type of APIResponse.data * feat: make RPCFilterRequestBuilder This makes sure the return types of rpc() and other query methods are correct. See https://gist.github.com/anand2312/93d3abf401335fd3310d9e30112303bf for an explanation. * chore: use typing.List * feat: make get_origin_and_cast This fixes the type-checker error raised while accessing RequestBuilder[T].__origin__ * fix: use typing.List
- Loading branch information
Showing
6 changed files
with
239 additions
and
150 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.