Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scaleway_qaas_client/v1alpha1/job_payload/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ class QaaSCircuitData:
class QaaSNoiseModelSerializationFormat(Enum):
UNKOWN_CIRCUIT_SERIALIZATION = 0
JSON = 1
AER_COMPRESSED_JSON = 2


@dataclass_json
@dataclass
class QaaSNoiseModelData:
serialization_format: QaaSNoiseModelSerializationFormat
noise_model_serialization: str
noise_model_serialization: bytes


@dataclass_json
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

setup(
name="scaleway_qaas_client",
version="0.1.22",
version="0.1.23",
project_urls={
"Documentation": "https://www.scaleway.com/en/quantum-as-a-service/",
"Source": "https://github.com/scaleway/scaleway-qaas-client-pythom",
Expand Down
19 changes: 0 additions & 19 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,25 +197,6 @@ def test_create_session_same_deduplication_id():
client.delete_session(session.id)


def test_list_applications():
client = _get_client()

applications = client.list_applications()

assert len(applications) > 0


def test_list_applications_by_name():
client = _get_client()

applications = client.list_applications(name=_TEST_APPLICATION_NAME)

assert len(applications) > 0

for application in applications:
assert application.name == _TEST_APPLICATION_NAME


def test_run_process():
client = _get_client()

Expand Down