Skip to content

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

Merged
merged 4 commits into from
Nov 3, 2023
Merged

Conversation

cheukt
Copy link
Member

@cheukt cheukt commented Nov 2, 2023

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

@cheukt cheukt requested a review from a team as a code owner November 2, 2023 21:39
@cheukt cheukt requested a review from stuqdog November 2, 2023 21:39
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>")
Copy link
Contributor

@maximpertsov maximpertsov Nov 2, 2023

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

Suggested change
# creds = Credentials(type="<your authentication type here>", payload="<your authentication payload here>")

Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member

@purplenicole730 purplenicole730 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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>")
Copy link
Member

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.

Copy link
Contributor

@dannenberg dannenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!! <3

@cheukt cheukt merged commit 82ea6e7 into viamrobotics:main Nov 3, 2023
@cheukt cheukt deleted the update-mod branch November 3, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants