Skip to content

mavutil: add type annotations to mavfile_state and param_state - #1237

Merged
peterbarker merged 1 commit into
ArduPilot:masterfrom
khancyr:typing/mavutil-state-classes
Jul 31, 2026
Merged

mavutil: add type annotations to mavfile_state and param_state#1237
peterbarker merged 1 commit into
ArduPilot:masterfrom
khancyr:typing/mavutil-state-classes

Conversation

@khancyr

@khancyr khancyr commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This Only set annotation and don't touch anything else ! No code modification

Declares real attribute types on the per-sysid/param state helper classes so mavfile's proxying properties (target_system, messages, flightmode, etc.) can be typed accurately in a follow-up step instead of falling back to Any.

Declares real attribute types on the per-sysid/param state helper
classes so mavfile's proxying properties (target_system, messages,
flightmode, etc.) can be typed accurately in a follow-up step instead
of falling back to Any.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@khancyr
khancyr force-pushed the typing/mavutil-state-classes branch from b06ffc4 to e601c09 Compare July 31, 2026 09:52

@peterbarker peterbarker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@peterbarker
peterbarker merged commit 839c381 into ArduPilot:master Jul 31, 2026
21 checks passed
@khancyr
khancyr deleted the typing/mavutil-state-classes branch July 31, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants