-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Large refactoring to simplify code and remove duplicate code (#13)
* Change imports in __init__ to be relative * Move mutable arguments out of definition * Reformat all types to derive from one of two base classes * Add basic guide and example to readme * Move data organization code to client_process.py to avoid repeated code Also fix incorrect typehinting in the return values of many functions * Fix bad ID in tests * Move repeated API queries into a single "api_query()" function Also, rewrite the httpx client opening to use a context window so it'll automatically close after the action These changes also prompted the changing of many of the functions to static methods * Change the "pass" for the bare exception catch to "raise" so exceptions are properly raised * Error in README.md * Update CHANGELOG.md * Expand example in README.md * Undo mistaken removal of dash This commit reverts pyproject.toml to the original state * Bump version to 1.1.0 From 1.0.9 --------- Co-authored-by: Ryan H <[email protected]>
- Loading branch information
Showing
27 changed files
with
1,141 additions
and
2,516 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.