-
Notifications
You must be signed in to change notification settings - Fork 56
RSDK-7436: remove analog and digital statuses from python sdk #597
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
d735fcb
to
6c87058
Compare
hmm did not expect so many conflicts in the proto files... would it be easier for me to revert that commit and pull in the other automated PR that builds the protos? |
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'll look over this again once this PR is ready. (tests passing, no more commits)
@martha-johnston pull from main and then rerun |
6de364f
to
aa09820
Compare
@purplenicole730 lmk when you look over it again! |
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.
Looks good. Just one question and one request: Can you run make format
please?
@@ -19,12 +18,12 @@ async def create_status(component: Board) -> Status: | |||
for x in analog_names: | |||
analog = await component.analog_reader_by_name(x) | |||
read = await analog.read() | |||
analogs[x] = AnalogStatus(value=read) | |||
analogs[x] = int(read) |
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.
Do you need this int
conversion?
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 guess not just removed it
No description provided.