Skip to content

Commit

Permalink
[QI2-728] removed hash from commits (#133)
Browse files Browse the repository at this point in the history
* [QI2-728] removed hash from commits

* Updated lock file
  • Loading branch information
NischalQuTech authored Jan 19, 2024
1 parent bea0888 commit 7f91562
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ python = "^3.8"
typer = {extras = ["all"], version = "^0.9.0"}
qutechopenql = "^0.11.1"
pydantic = "^2.5.2"
qi-compute-api-client = {git = "https://github.com/QuTech-Delft/compute-api-client.git", branch="0.19.0"}
qi-compute-api-client = {git = "https://github.com/QuTech-Delft/compute-api-client.git", branch="0.21.0"}
qxelarator = {version = "^0.6.2", optional = true}
pydantic-settings = "^2.1.0"

Expand Down
3 changes: 0 additions & 3 deletions quantuminspire/util/api/remote_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"""

import asyncio
import uuid
from typing import Any, List

from compute_api_client import (
Expand Down Expand Up @@ -113,10 +112,8 @@ async def _create_algorithm(api_client: ApiClient, program: BaseAlgorithm, proje

@staticmethod
async def _create_commit(api_client: ApiClient, algorithm: Algorithm) -> Commit:
commit_hash = uuid.uuid4().hex[0:8]
api_instance = CommitsApi(api_client)
obj = CommitIn(
hash=commit_hash,
description="Commit created by SDK",
algorithm_id=algorithm.id,
)
Expand Down

0 comments on commit 7f91562

Please sign in to comment.