Skip to content

Commit 8304a73

Browse files
committed
[QI2-1144] Implemented compile from stage
1 parent d0ff34e commit 8304a73

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

compute_api_client/api/commits_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async def compile_commit_commits_id_compile_post(
7474
) -> None:
7575
"""Compile file in a commit
7676
77-
Get commit by ID.
77+
Compile file in a commit.
7878
7979
:param id: (required)
8080
:type id: int
@@ -145,7 +145,7 @@ async def compile_commit_commits_id_compile_post_with_http_info(
145145
) -> ApiResponse[None]:
146146
"""Compile file in a commit
147147
148-
Get commit by ID.
148+
Compile file in a commit.
149149
150150
:param id: (required)
151151
:type id: int
@@ -216,7 +216,7 @@ async def compile_commit_commits_id_compile_post_without_preload_content(
216216
) -> RESTResponseType:
217217
"""Compile file in a commit
218218
219-
Get commit by ID.
219+
Compile file in a commit.
220220
221221
:param id: (required)
222222
:type id: int

compute_api_client/docs/CommitsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Method | HTTP request | Description
1616
1717
Compile file in a commit
1818

19-
Get commit by ID.
19+
Compile file in a commit.
2020

2121
### Example
2222

compute_api_client/models/compile_stage.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ class CompileStage(str, Enum):
3535
allowed enum values
3636
"""
3737
NONE = 'none'
38-
MAPPED = 'mapped'
39-
NATIVE_GATESET = 'native_gateset'
40-
SCHEDULED = 'scheduled'
38+
DECOMPOSITION = 'decomposition'
4139

4240
@classmethod
4341
def from_json(cls, json_str: str) -> Self:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "qi-compute-api-client"
3-
version = "0.38.1"
3+
version = "0.38.2"
44
description = "An API client for the Compute Job Manager of Quantum Inspire."
55
license = "Apache-2.0"
66
authors = ["Quantum Inspire <[email protected]>"]

0 commit comments

Comments
 (0)