Skip to content

Conversation

@SamD2021
Copy link
Contributor

@SamD2021 SamD2021 commented Dec 4, 2024

Importing annotations from __future__ seems to be the mypy supported way to annotate the _SubParserAction. Otherwise it gives a runtime error about how 'type' object is not subscriptable.
https://mypy.readthedocs.io/en/stable/runtime_troubles.html#future-annotations-import-pep-563

@SalDaniele
Copy link

LGTM

@SalDaniele
Copy link

@wizhaoredhat any chance you have merge permissions on this repo and can help us get this in?

@wizhaoredhat
Copy link
Contributor

@SalDaniele Nope

@bn222 bn222 merged commit a87134d into bn222:main Dec 16, 2024
1 check 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.

4 participants