qiboteam / qibo-client

Qibo remote connection client.
https://qibo.science
Apache License 2.0
1 stars 0 forks source link

Client does not hang #42

Open marcorossi5 opened 1 month ago

marcorossi5 commented 1 month ago

This PR adds a wait_for_results boolean flag to Client.run_circuit method to let the user choose if the client should hang or not waiting for the server returning the results.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 98.40%. Comparing base (326ccd4) to head (99a02ad). Report is 8 commits behind head on main.

Files Patch % Lines
src/qibo_client/qibo_client.py 50.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #42 +/- ## =========================================== - Coverage 100.00% 98.40% -1.60% =========================================== Files 6 6 Lines 122 125 +3 =========================================== + Hits 122 123 +1 - Misses 0 2 +2 ``` | [Flag](https://app.codecov.io/gh/qiboteam/qibo-client/pull/42/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/qiboteam/qibo-client/pull/42/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | `98.40% <50.00%> (-1.60%)` | :arrow_down: | 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=qiboteam#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.