Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft - Do not merge] [Quantum] Use Post Storage URI and SAS token like Quantum Python SDK #8242

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion src/quantum/azext_quantum/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# This is the version reported by the CLI to the service when submitting requests.
# This should be in sync with the extension version in 'setup.py', unless we need to
# submit using a different version.
CLI_REPORTED_VERSION = "1.0.0b4"
CLI_REPORTED_VERSION = "1.0.0b4.dev3"


class QuantumCommandsLoader(AzCommandsLoader):
Expand Down
3 changes: 2 additions & 1 deletion src/quantum/azext_quantum/operations/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ def submit(cmd, resource_group_name, workspace_name, location, target_id, job_in

knack_logger.warning("Uploading input data...")
try:
blob_uri = upload_blob(container_client, blob_name, content_type, content_encoding, blob_data, False)
# blob_uri = upload_blob(container_client, blob_name, content_type, content_encoding, blob_data, False)
blob_uri = upload_blob(container_client, blob_name, content_type, content_encoding, blob_data, True)
except Exception as e:
# Unexplained behavior:
# QIR bitcode input and QIO (gzip) input data get UnicodeDecodeError on jobs run in tests using
Expand Down
2 changes: 1 addition & 1 deletion src/quantum/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# This version should match the latest entry in HISTORY.rst
# Also, when updating this, please review the version used by the extension to
# submit requests, which can be found at './azext_quantum/__init__.py'
VERSION = '1.0.0b4'
VERSION = '1.0.0b4.dev3'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down
Loading