qctrl-workflow-client 7.2.0__tar.gz → 7.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: qctrl-workflow-client
3
- Version: 7.2.0
3
+ Version: 7.3.0
4
4
  Summary: Q-CTRL Workflow Client
5
5
  License: https://q-ctrl.com/terms
6
6
  Keywords: black opal,boulder opal,fire opal,ironstone opal,nisq,open controls,q control,q ctrl,q-control,q-ctrl,qcontrol,qctrl,quantum,quantum algorithms,quantum circuits,quantum coding,quantum coding software,quantum computing,quantum control,quantum control software,quantum control theory,quantum engineering,quantum error correction,quantum firmware,quantum fundamentals,quantum navigation,quantum sensing,qubit,qudit
@@ -2,7 +2,7 @@
2
2
  name = "qctrl-workflow-client"
3
3
  description = "Q-CTRL Workflow Client"
4
4
  requires-python = ">=3.9, <3.14"
5
- version = "7.2.0"
5
+ version = "7.3.0"
6
6
  license = "https://q-ctrl.com/terms"
7
7
  authors = [
8
8
  { name = "Q-CTRL", email = "support@q-ctrl.com" },
@@ -11,7 +11,7 @@
11
11
  # distributed under the License is distributed on an "AS IS" BASIS. See the
12
12
  # License for the specific language.
13
13
 
14
- __version__ = "7.2.0"
14
+ __version__ = "7.3.0"
15
15
 
16
16
  from .defaults import get_authenticated_client_for_product
17
17
  from .functions import (
@@ -855,7 +855,9 @@ class ApiRouter(BaseRouter):
855
855
  )
856
856
  return response["actions"]["actions"]
857
857
 
858
- def create_presigned_url_upload(self, checksum: str) -> PresignedUrlData:
858
+ def create_presigned_url_upload(
859
+ self, checksum: str, registry: str
860
+ ) -> PresignedUrlData:
859
861
  """
860
862
  Create a presigned URL for uploading data using the provided checksum.
861
863
 
@@ -863,6 +865,8 @@ class ApiRouter(BaseRouter):
863
865
  ----------
864
866
  checksum : str
865
867
  The Base64-encoded SHA-256 checksum of the data to be uploaded.
868
+ registry : str
869
+ The client registry name.
866
870
 
867
871
  Returns
868
872
  -------
@@ -895,7 +899,7 @@ class ApiRouter(BaseRouter):
895
899
  query,
896
900
  variable_values={
897
901
  "input": {
898
- "clientApp": self._settings.product.value.registry,
902
+ "clientApp": registry,
899
903
  "checksum": checksum,
900
904
  }
901
905
  },