Skip to content
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

Feat/create api components #277

Merged
merged 31 commits into from
Dec 4, 2023
Merged

Feat/create api components #277

merged 31 commits into from
Dec 4, 2023

Conversation

aarmoa
Copy link
Collaborator

@aarmoa aarmoa commented Dec 3, 2023

  • Added low level API components for all chain, exchange and explorer modules, to make Python SDK fully compatible with the TypeScript SDK.
  • Added new functions in AsyncClient to interact with all modules using the low level API components.
  • Marked the old functions in AsyncClient as deprecated.
  • Updated all example scripts to use the new functions.

abel added 28 commits June 21, 2023 12:46
…e required classes to handle pagination options and results pagination information.
…e required classes to handle pagination options and results pagination information.
…g branch with `dev`. Updated isort configuration to combine as imports
…ew functions in AsyncClient to use the new component and marked the old ones as deprecated (to be removed in the future)
…dded tests cases and created new functions in AsyncClient using the new component. Marked old functions as deprecated
…AsyncClient to use them and market the ones interacting directly with the stubs as deprecated
…ule, with the unit tests. Created new methods in AsyncClient to use them, and marked the ones directly using the stubs as deprecated
…ule, with unit tests. Created new functions to access them in AsyncClient and marked the old functions using the stub directly as deprecated
…on module, with tests. Added new functions in AsyncClient to use the component and marked the old functions using the stub directly as deprecated
…el API component. Added new functions in AsyncClient and deprecated the old ones. Updated examples
… exchange module. Deprecated the old stream functions in AsyncClient and implemented new functions for the API component streams. Updated the example scripts.
…l API components. Created the unit tests for the new functionality. Added new functions in AsyncClient using the API components and deprecated the old functions
… Added unit tests for the new functionality. Included new functions in AsyncClient using the low level API components, and marked the old functions as deprecated
…le, with unit tests. Included new functions in AsyncClient to use the low level API components and marked the old functions as deprecated. Updated the examples to use the new AsyncClient functions.
…e, with unit tests. Included new functions in AsyncClient to use the low level API components and marked the old functions as deprecated. Updated the examples to use the new AsyncClient functions.
…dded unit tests for the new functionality. Included new functions in AsyncClient using the low level API components, and marked the old functions as deprecated. Updated the example scripts.
…ts for the new functionality. Included new functions in AsyncClient using the low level API components, and marked the old functions as deprecated. Updated the example scripts.
Copy link

codecov bot commented Dec 3, 2023

Codecov Report

Attention: 88 lines in your changes are missing coverage. Please review.

Comparison is base (c1c8089) 56.63% compared to head (7672c35) 71.71%.

Files Patch % Lines
pyinjective/client/chain/model/account.py 0.00% 21 Missing ⚠️
pyinjective/composer.py 50.00% 21 Missing ⚠️
pyinjective/client/chain/model/auth_params.py 0.00% 12 Missing ⚠️
pyinjective/client/model/pagination.py 69.23% 8 Missing and 4 partials ⚠️
pyinjective/utils/grpc_api_stream_assistant.py 57.14% 9 Missing and 3 partials ⚠️
pyinjective/core/broadcaster.py 12.50% 7 Missing ⚠️
...njective/client/chain/grpc/chain_grpc_authz_api.py 90.62% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              dev     #277       +/-   ##
===========================================
+ Coverage   56.63%   71.71%   +15.07%     
===========================================
  Files          18       46       +28     
  Lines        2071     3125     +1054     
  Branches      238      285       +47     
===========================================
+ Hits         1173     2241     +1068     
+ Misses        863      816       -47     
- Partials       35       68       +33     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aarmoa aarmoa merged commit 0204942 into dev Dec 4, 2023
12 checks passed
@aarmoa aarmoa deleted the feat/create_api_components branch December 4, 2023 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants