-
Notifications
You must be signed in to change notification settings - Fork 19
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
Ability to pass in options
to SuperstaqProvider
and Service
#708
Conversation
@SalahedeenIssa Please test and review. |
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
Co-authored-by: Victory Omole <vtomole2@gmail.com>
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
…perstaq into pass_options_to_get
@@ -253,6 +253,22 @@ def test_dfe(service: css.Service) -> None: | |||
assert isinstance(result, float) | |||
|
|||
|
|||
def test_aces(service: css.Service) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this part of #699? /should that be merged first to simplify this pr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I accidentally merged that branch into this one 😭 . Will wait until that one is in before this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(few more nits)
@@ -47,6 +47,7 @@ def __init__( | |||
api_version: str = gss.API_VERSION, | |||
max_retry_seconds: int = 3600, | |||
verbose: bool = False, | |||
**kwargs: Any, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be added to docstring
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
Applied all the suggestions and added docstring. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm once test is fixed!
Co-authored-by: richrines1 <85512171+richrines1@users.noreply.github.com>
This PR is the beginning of having
options
be added at the top level. The inspiration for this change is #592.New way of calling should look like
This PR makes is so that
get_job
also has acess to thecq_token
that's passed in .Corresponding PR https://github.com/Infleqtion/server-superstaq/pull/2663