RSDK-11728 — Remove get_image, render_frame, and format#1056
Merged
hexbabe merged 8 commits intoviamrobotics:mainfrom Jan 5, 2026
Merged
RSDK-11728 — Remove get_image, render_frame, and format#1056hexbabe merged 8 commits intoviamrobotics:mainfrom
hexbabe merged 8 commits intoviamrobotics:mainfrom
Conversation
Contributor
|
Warning your change may break code samples. If your change modifies any of the following functions please contact @viamrobotics/fleet-management. Thanks!
|
hexbabe
commented
Dec 16, 2025
| assert is_monitored is True | ||
|
|
||
| is_monitored = client._is_safety_heartbeat_monitored("/viam.component.camera.v1.CameraService/GetImage") | ||
| is_monitored = client._is_safety_heartbeat_monitored("/viam.component.camera.v1.CameraService/GetImages") |
Member
Author
There was a problem hiding this comment.
not sure what this is and not sure if we can directly substitute GetImages here
…at enum field completely removed
njooma
requested changes
Dec 30, 2025
Comment on lines
25
to
28
| "camera": { | ||
| "func": "get_image", | ||
| "packagePath": "viam.components" | ||
| }, |
Member
There was a problem hiding this comment.
do not remove this, but replace with get_images
| camera = self.get_resource(name) | ||
| async def GetImage(self, stream: Stream) -> None: | ||
| """Deprecated: Use GetImages instead.""" | ||
| raise NotImplementedError("GetImage is deprecated. Use GetImages instead.") |
Member
There was a problem hiding this comment.
raise NotSupportedError instead:
from viam.errors import NotSupportedError
...
raise NotSupportedError("GetImage is deprecated. Use GetImages instead.")
Member
There was a problem hiding this comment.
NotSupportedError will bubble up the gRPC stack appropriately
| await stream.send_message(response) | ||
| async def RenderFrame(self, stream: Stream) -> None: | ||
| """Deprecated: Use GetImages instead.""" | ||
| raise NotImplementedError("RenderFrame is deprecated. Use GetImages instead.") |
njooma
approved these changes
Dec 31, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://viam.atlassian.net/browse/RSDK-11728
Not for merging immediately; getting this ready for Jan 5th when all dependent code has been updated.