Skip to content

[uss_qualifier/scenarios/uss_down] Only clean op intents when some were created#1425

Merged
mickmis merged 1 commit intointeruss:mainfrom
BenjaminPelletier:fix-1422
Apr 20, 2026
Merged

[uss_qualifier/scenarios/uss_down] Only clean op intents when some were created#1425
mickmis merged 1 commit intointeruss:mainfrom
BenjaminPelletier:fix-1422

Conversation

@BenjaminPelletier
Copy link
Copy Markdown
Member

This PR fixes #1422 by first making sure the problem would have been caught by basedpyright by adding a type annotation to area in _clear_op_intents -- this results in a basedpyright finding that "None" is not assignable to "Volume4D" (reportArgumentType). This finding is then resolved by only calling _clear_op_intents from cleanup when one or more op intents were actually created during the scenario (self.scenario_execution_max_extents is not None).

@mickmis mickmis merged commit 4dd5d79 into interuss:main Apr 20, 2026
22 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.

AttributeError: 'NoneType' object has no attribute 'to_f3548v21' in DownUSS.cleanup()

2 participants