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

What is the purpose of the any client function in client.py ? #129

Closed
shravan-v opened this issue Apr 17, 2020 · 1 comment · Fixed by #130
Closed

What is the purpose of the any client function in client.py ? #129

shravan-v opened this issue Apr 17, 2020 · 1 comment · Fixed by #130

Comments

@shravan-v
Copy link

def any_client(self):

It would be helpful if the usage of this function is elaborated with an example.

@martinmr
Copy link
Contributor

martinmr commented May 1, 2020

The client can be given multiple gRPC clients. This function is used to load balance the requests. I updated the documentation to hopefully make this clearer. I am not adding an example because this is not meant to be used by users. When you call any of the other methods (login, alter, etc), this method will automatically select a random gRPC client for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants