Sourced from cappa's releases.
v0.17.2
What's Changed
- chore: update typing-extensions to
>=4.8.0
by@wu-clan
in DanCardin/cappa#108New Contributors
@wu-clan
made their first contribution in DanCardin/cappa#108Full Changelog: https://github.com/DanCardin/cappa/compare/v0.17.1...v0.17.2
v0.17.1
What's Changed
- fix: Add better sequence inference. by
@DanCardin
in DanCardin/cappa#107Full Changelog: https://github.com/DanCardin/cappa/compare/v0.17.0...v0.17.1
Sourced from cappa's changelog.
0.17.2
- Increase minimum typing_extensions bound to reflect actual dependency.
0.17.1
- Fixes bounded-tuple options like
tuple[str, str]
to infer asnum_args=2
- Fixes bounded-tuple options to fail parsing if you give it a different number of values
- Fixes "double sequence" inference on explicit
num_args=N
values which would produce sequences. I.e. inferaction=ArgAction.set
in such cases to avoid e.x.num_args=3, action=ArgAction.append
; resulting in nonsensical nested sequence["[]"]