StellarCN / py-stellar-base

Stellar client library for the Python language
https://stellar-sdk.readthedocs.io
Apache License 2.0
348 stars 173 forks source link

feat: add a helper function to convert SCVal to native types. #937

Closed overcat closed 6 months ago

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.62%. Comparing base (ac59063) to head (c939f98).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/937/graphs/tree.svg?width=650&height=150&src=pr&token=kHAKcotfqv&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN)](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/937?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) ```diff @@ Coverage Diff @@ ## main #937 +/- ## ======================================= Coverage 98.62% 98.62% ======================================= Files 253 253 Lines 13378 13426 +48 ======================================= + Hits 13194 13242 +48 Misses 184 184 ``` | [Flag](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/937/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/937/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) | `98.62% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/937?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) | Coverage Δ | | |---|---|---| | [stellar\_sdk/scval.py](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/937?src=pr&el=tree&filepath=stellar_sdk%2Fscval.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN#diff-c3RlbGxhcl9zZGsvc2N2YWwucHk=) | `92.53% <100.00%> (+1.50%)` | :arrow_up: | | [tests/test\_scval.py](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/937?src=pr&el=tree&filepath=tests%2Ftest_scval.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN#diff-dGVzdHMvdGVzdF9zY3ZhbC5weQ==) | `100.00% <100.00%> (ø)` | |