Skip to content

Add proper typing support for Container fields#2994

Merged
maxnoe merged 2 commits into
mainfrom
container-typing
Apr 17, 2026
Merged

Add proper typing support for Container fields#2994
maxnoe merged 2 commits into
mainfrom
container-typing

Conversation

@maxnoe
Copy link
Copy Markdown
Member

@maxnoe maxnoe commented Apr 15, 2026

With e.g. pyright installed in an IDE:

Before:

Screenshot_20260415_125405

Now:

Screenshot_20260415_125335

And e.g. in CameraCalibrator:

Before:
Screenshot_20260415_131022

Now:

Screenshot_20260415_131045

It cannot deduce the type of the Map, but that can be explicitly type hinted as well later.

@maxnoe maxnoe force-pushed the container-typing branch 3 times, most recently from 77ffdcf to b3de024 Compare April 15, 2026 16:26
@maxnoe maxnoe force-pushed the container-typing branch from b3de024 to 16e7a92 Compare April 15, 2026 16:31
@ctao-sonarqube
Copy link
Copy Markdown

@maxnoe maxnoe requested a review from mexanick April 16, 2026 15:33
Copy link
Copy Markdown
Contributor

@mexanick mexanick left a comment

Choose a reason for hiding this comment

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

thanks, great QoL improvement!

@maxnoe maxnoe merged commit 8705606 into main Apr 17, 2026
13 checks passed
@maxnoe maxnoe deleted the container-typing branch April 17, 2026 14:23
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.

3 participants