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

Add "private" environment option #1888

Merged
merged 10 commits into from
Sep 3, 2024
Merged

Add "private" environment option #1888

merged 10 commits into from
Sep 3, 2024

Conversation

kt474
Copy link
Member

@kt474 kt474 commented Aug 23, 2024

Summary

Add private as an environment option to mark jobs as private

Also updated the unit tests in test_job to return RuntimeJobV2 since V1 was fully removed.

Details and comments

Fixes #1811

@kt474 kt474 added the Changelog: New Feature Include in the Added section of the changelog label Aug 26, 2024
@kt474 kt474 marked this pull request as ready for review August 26, 2024 17:18
@kt474 kt474 requested a review from ptristan3 August 27, 2024 20:20
@kt474 kt474 merged commit 7733724 into Qiskit:main Sep 3, 2024
16 checks passed
@kt474 kt474 deleted the private-jobs branch September 3, 2024 13:29
@mriedem
Copy link
Contributor

mriedem commented Dec 2, 2024

Does this work for the cloud channel? I don't see a private field in the POST /jobs endpoint for the qiskit runtime cloud API. What happens if specified in that case? Does it blow up?

@mriedem
Copy link
Contributor

mriedem commented Dec 2, 2024

Does this work for the cloud channel? I don't see a private field in the POST /jobs endpoint for the qiskit runtime cloud API. What happens if specified in that case? Does it blow up?

Looks like it doesn't blow up, but probably doesn't do anything either. If this isn't supported for the cloud channel, shouldn't the docs mention that?

@kt474
Copy link
Member Author

kt474 commented Dec 3, 2024

Looks like it doesn't blow up, but probably doesn't do anything either. If this isn't supported for the cloud channel, shouldn't the docs mention that?

Yeah it's not supported for the cloud channel - I can update the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: New Feature Include in the Added section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add private job attribute
3 participants