Skip to content

Commit

Permalink
[QI2-1144] Implemented compile from stage
Browse files Browse the repository at this point in the history
  • Loading branch information
NischalQuTech committed Nov 21, 2024
1 parent d0ff34e commit 8304a73
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions compute_api_client/api/commits_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async def compile_commit_commits_id_compile_post(
) -> None:
"""Compile file in a commit
Get commit by ID.
Compile file in a commit.
:param id: (required)
:type id: int
Expand Down Expand Up @@ -145,7 +145,7 @@ async def compile_commit_commits_id_compile_post_with_http_info(
) -> ApiResponse[None]:
"""Compile file in a commit
Get commit by ID.
Compile file in a commit.
:param id: (required)
:type id: int
Expand Down Expand Up @@ -216,7 +216,7 @@ async def compile_commit_commits_id_compile_post_without_preload_content(
) -> RESTResponseType:
"""Compile file in a commit
Get commit by ID.
Compile file in a commit.
:param id: (required)
:type id: int
Expand Down
2 changes: 1 addition & 1 deletion compute_api_client/docs/CommitsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Method | HTTP request | Description
Compile file in a commit

Get commit by ID.
Compile file in a commit.

### Example

Expand Down
4 changes: 1 addition & 3 deletions compute_api_client/models/compile_stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ class CompileStage(str, Enum):
allowed enum values
"""
NONE = 'none'
MAPPED = 'mapped'
NATIVE_GATESET = 'native_gateset'
SCHEDULED = 'scheduled'
DECOMPOSITION = 'decomposition'

@classmethod
def from_json(cls, json_str: str) -> Self:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "qi-compute-api-client"
version = "0.38.1"
version = "0.38.2"
description = "An API client for the Compute Job Manager of Quantum Inspire."
license = "Apache-2.0"
authors = ["Quantum Inspire <support@quantum-inspire.eu>"]
Expand Down

0 comments on commit 8304a73

Please sign in to comment.