dwavesystems / dwave-cloud-client

A minimal implementation of the REST interface used to communicate with D-Wave Solver API (SAPI) servers.
https://docs.ocean.dwavesys.com/projects/cloud-client/en/stable/
Apache License 2.0
59 stars 40 forks source link

Delegate JSON response validation to content type validation #618

Closed randomir closed 4 months ago

randomir commented 4 months ago

This generalization allows dwave.cloud.api client(s) to "accept" non-json responses, e.g. binary streams.

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 88.43%. Comparing base (910db86) to head (37e9658).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #618 +/- ## ========================================== - Coverage 88.49% 88.43% -0.06% ========================================== Files 33 33 Lines 4380 4376 -4 ========================================== - Hits 3876 3870 -6 - Misses 504 506 +2 ```

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