Tyro

Latest version: v0.9.2

Safety actively analyzes 688803 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 22

0.4.1

What's Changed
* Fix `%` character as default str argument in dataclass by blurgyy in https://github.com/brentyi/tyro/pull/41
* Performance improvements
* Support containers as subcommands
* Warnings instead of errors for subcommand type mismatches (20)

New Contributors
* blurgyy made their first contribution in https://github.com/brentyi/tyro/pull/41

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.4.0...v0.4.1

0.4.0

* Add support for os.PathLike by brentyi in https://github.com/brentyi/tyro/pull/37
* Add `return_unknown_args` to `tyro.cli` by JesseFarebro in https://github.com/brentyi/tyro/pull/35
* Add support for PathLike classes & objects with __new__ but no __init__ by JesseFarebro in https://github.com/brentyi/tyro/pull/38
* Smarter matching for default subcommands by brentyi in https://github.com/brentyi/tyro/pull/33
* Add support for variadic arguments, as per 39
* `--tyro-print-completion` => `--tyro-write-completion`

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.3.38...v0.4.0

0.3.38

Minor improvements for helptext from pydantic dataclasses.

0.3.37

- Fix corner case with placing multiple subcommands below the root level (29)
- Handle mixing of nested / non-nested types more gracefully
- Fix a broken f-string (28)
- Minor internal improvements

0.3.36

- Support `functools.partial` and `functools.wraps`.
- Various minor bug fixes.

0.3.35

Add `tyro.conf.ConsolidateSubcommandArgs`, `tyro.conf.configure()`.

Page 9 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.