-
Notifications
You must be signed in to change notification settings - Fork 164
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
Retrieve backends with runtime api #774
Conversation
Pull Request Test Coverage Report for Build 4559360833
💛 - Coveralls |
@@ -342,13 +342,13 @@ def close_session(self, session_id: str) -> None: | |||
|
|||
# IBM Cloud only functions | |||
|
|||
def list_backends(self) -> List[str]: | |||
def list_backends(self, hgp: Optional[str] = None) -> List[str]: | |||
"""Return IBM Cloud backends available for this service instance. | |||
|
|||
Returns: | |||
IBM Cloud backends available for this service instance. |
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.
these docstring and comments should be updated since they are not cloud only
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 (other than the docstring you pointed out)! This should help with lazy loading as well.
* wip initial commit * use runtime api * fix unit tests * remove accountclient * add instance param * remove incorrect comments/docstrings
Summary
Related to #741 which is a much bigger effort to minimize duplicated code between provider repos.
Since #741 will likely not be ready this week, this PR only makes updates to use the runtime api instead of the iqx api to retrieve backends
Details and comments
Fixes #