-
Notifications
You must be signed in to change notification settings - Fork 60
Fix simple module, update readme #480
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
Conversation
examples/simple_module/client.py
Outdated
creds = Credentials(type="<your authentication type here>", payload="<your authentication payload here>") | ||
opts = RobotClient.Options(refresh_interval=0, dial_options=DialOptions(credentials=creds), log_level=logging.DEBUG) | ||
return await RobotClient.at_address("<your robot uri here>", opts) | ||
# creds = Credentials(type="<your authentication type here>", payload="<your authentication payload here>") |
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.
assuming you meant to uncomment nvm i see we are just changing to insecure, let's remove then
# creds = Credentials(type="<your authentication type here>", payload="<your authentication payload here>") |
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.
Might have to un-import Credentials
now that we're not using it anymore.
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.
ah that's unintentional, will revert that part
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
examples/simple_module/client.py
Outdated
creds = Credentials(type="<your authentication type here>", payload="<your authentication payload here>") | ||
opts = RobotClient.Options(refresh_interval=0, dial_options=DialOptions(credentials=creds), log_level=logging.DEBUG) | ||
return await RobotClient.at_address("<your robot uri here>", opts) | ||
# creds = Credentials(type="<your authentication type here>", payload="<your authentication payload here>") |
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.
Might have to un-import Credentials
now that we're not using it anymore.
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.
Thank you!! <3
updated client as well
as part of testing, found a small issue with our validation code so fixed that as well
also made all the logs info so it'll show up even if not in debug mode
@dannenberg think this is what you wanted