Tyro

Latest version: v0.9.2

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

Scan your dependencies

Page 2 of 22

0.8.10

Better support for unions in completion script generation. (158)

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.9...v0.8.10

0.8.9

What's Changed
* Add workaround for Python<=3.10 `get_type_hints()` bug in https://github.com/brentyi/tyro/pull/157
* Add support for `datetime.{date,time,datetime}` types in https://github.com/brentyi/tyro/pull/155
* Improve error messages for misplaced subcommand options.

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.8...v0.8.9

0.8.8

Added [`tyro.extras.overridable_config_cli()`](https://brentyi.github.io/tyro/api/tyro/extras/#tyro.extras.overridable_config_cli).

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.7...v0.8.8

0.8.7

- Added `config=` argument to `tyro.cli()`, which takes a sequence of `tyro.conf.*` markers.
- Error message improvements for custom constructors and sequences over nested types.

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.6...v0.8.7

0.8.6

- Expanded type narrowing support for generics with type parameters bound to `Any`.
- Support `collections.abc.Sequence`.
- Error message improvements.
- `tyro.conf.arg(prefix_name=False)` now applies recursively when custom constructors are passed in.

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.5...v0.8.6

0.8.5

Performance and error message improvements.
- Refactoring to shorten `tyro.cli()` stack traces.
- Optimized string operations. `tyro.cli()` should run ~15% faster.
- Cleaner error messages for unsupported type annotations and subcommand helpers (145).

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.4...v0.8.5

Page 2 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.