Add overloads for `argparse.ArgumentParser.parse_x_args()`
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 2.1k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 82
Description
An extension of #2566, seems like the typings for parse_known_args, parse_intermixed_args, parse_known_intermixed_args (and the undocumented _parse_known_args) of argparse.ArgumentParser were overlooked, as they all share the same pattern as parse_args for typing the namespace class.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the argparse.ArgumentParser stubs and compare the existing parse_args overloads with parse_known_args, parse_intermixed_args, parse_known_intermixed_args, and _parse_known_args. Add matching namespace-class overloads for the listed methods; done means their typings follow the same pattern as parse_args.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100