Releases: brentyi/tyro
Releases · brentyi/tyro
Release v0.3.36
- Support
functools.partial
andfunctools.wraps
. - Various minor bug fixes.
Release v0.3.35
Add tyro.conf.ConsolidateSubcommandArgs
, tyro.conf.configure()
.
Release v0.3.34
(yanked)
Add tyro.conf.ConsolidateSubcommandArgs
, tyro.conf.configure()
.
Release v0.3.33
Fix corner cases with non-leading positional arguments, helptext formatting.
Release v0.3.32
- Add
tyro.conf.arg()
. - Add (currently undocumented) support for
"help"
metadata in dataclass fields. This should generally not be encouraged, but improves compatibility with HuggingFace-style configs.
Release v0.3.31
Fixed flag conversion bug caused by runtime annotations:
flag1: bool = False # worked
flag2: Annotated[bool, "something"] = False # failed
Release v0.3.30
PEP 604 support for Python 3.9. (fixes #19)
Improve error message for subcommands with unmatched defaults. (eg x: A | B = C()
, where issubclass(C, A) == issubclass(C, B) == False
)
Release v0.3.29
- Shift to upstream version of
shtab
for tab completion. - Support classes defined using
attrs
andpydantic
. - Minor fixes for typing and docs.
- Support
dataclasses.InitVar
.
Release v0.3.28
Yanked due to nerfstudio-project/nerfstudio#882.
- Shift to upstream version of
shtab
for tab completion. - Support classes defined using
attrs
andpydantic
. - Minor fixes for typing and docs.
Release v0.3.27
Fix type narrowing for Python 3.10