Skip to content

Commit 31bb671

Browse files
authored
Merge pull request #4 from scaleway/283-patched_json_aer_noise_model
283 patched json aer noise model
2 parents 40baa9a + aa0f039 commit 31bb671

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

scaleway_qaas_client/v1alpha1/job_payload/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ class QaaSCircuitData:
3636
class QaaSNoiseModelSerializationFormat(Enum):
3737
UNKOWN_CIRCUIT_SERIALIZATION = 0
3838
JSON = 1
39+
AER_COMPRESSED_JSON = 2
3940

4041

4142
@dataclass_json
4243
@dataclass
4344
class QaaSNoiseModelData:
4445
serialization_format: QaaSNoiseModelSerializationFormat
45-
noise_model_serialization: str
46+
noise_model_serialization: bytes
4647

4748

4849
@dataclass_json

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
setup(
2424
name="scaleway_qaas_client",
25-
version="0.1.22",
25+
version="0.1.23",
2626
project_urls={
2727
"Documentation": "https://www.scaleway.com/en/quantum-as-a-service/",
2828
"Source": "https://github.com/scaleway/scaleway-qaas-client-pythom",

tests/test_api.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -197,25 +197,6 @@ def test_create_session_same_deduplication_id():
197197
client.delete_session(session.id)
198198

199199

200-
def test_list_applications():
201-
client = _get_client()
202-
203-
applications = client.list_applications()
204-
205-
assert len(applications) > 0
206-
207-
208-
def test_list_applications_by_name():
209-
client = _get_client()
210-
211-
applications = client.list_applications(name=_TEST_APPLICATION_NAME)
212-
213-
assert len(applications) > 0
214-
215-
for application in applications:
216-
assert application.name == _TEST_APPLICATION_NAME
217-
218-
219200
def test_run_process():
220201
client = _get_client()
221202

0 commit comments

Comments
 (0)