Skip to content

DATA-2827 Removes lazy suffix from input mime type #688

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
Jul 19, 2024

Conversation

bhaney
Copy link
Member

@bhaney bhaney commented Jul 19, 2024

Sometimes RDK will append +lazy to the mime type string to specify it as a lazy encoded image.
Python SDK doesn't require this, as all images are default lazy encoded, and also +lazy will cause an error of

ValueError - 'image/jpeg+lazy' is not a valid CameraMimeType - file_name='enum.py' func_name='__new__' line_num=702

Just checking for the +lazy suffix and removing it is enough to solve this issue

@bhaney bhaney requested a review from a team as a code owner July 19, 2024 18:42
@bhaney bhaney merged commit d016328 into viamrobotics:main Jul 19, 2024
13 checks passed
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.

2 participants