Skip to content

RSDK-7230: add machine_id to cloud metadata #277

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 3 commits into from
Apr 19, 2024

Conversation

maximpertsov
Copy link
Contributor

@maximpertsov maximpertsov commented Apr 17, 2024

Breaking change! Not anymore!

Add machineId to the getCloudMetadata robot client method. Also change the return type and rename robotPartId to machinePartId for clarity. We are just deprecating the duplicate field instead.

Depends on:

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. I'm guessing the parsing out instead of using AsObject is to avoid returning the redundant robotPartId?

@maximpertsov
Copy link
Contributor Author

LGTM. I'm guessing the parsing out instead of using AsObject is to avoid returning the redundant robotPartId?

yeah... I might do this differently depending on the answer to my question on the corresponding python sdk change.

@maximpertsov
Copy link
Contributor Author

LGTM. I'm guessing the parsing out instead of using AsObject is to avoid returning the redundant robotPartId?

yeah... I might do this differently depending on the answer to my question on the corresponding python sdk change.

We're gonna do this: viamrobotics/viam-python-sdk#585 (comment) - will update this PR once the corresponding proto API change is live

@maximpertsov maximpertsov changed the title RSDK-7230: add machine_id to cloud metadata method RSDK-7230: add machine_id to cloud metadata Apr 19, 2024
@@ -43,7 +43,6 @@ describe('moveOnGlobe', () => {
type: 'component',
subtype: 'base',
name: 'myBase',
machinePartId: '',
Copy link
Contributor Author

@maximpertsov maximpertsov Apr 19, 2024

Choose a reason for hiding this comment

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

@maximpertsov maximpertsov merged commit c1cd67a into viamrobotics:main Apr 19, 2024
3 checks passed
@maximpertsov maximpertsov deleted the RSDK-7230 branch April 19, 2024 16:19
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