Skip to content

Releases: brentyi/tyro

Release v0.3.36

12 Dec 20:56
32022ad
Compare
Choose a tag to compare
  • Support functools.partial and functools.wraps.
  • Various minor bug fixes.

Release v0.3.35

21 Nov 07:22
f66c773
Compare
Choose a tag to compare

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

Release v0.3.34

20 Nov 03:43
Compare
Choose a tag to compare

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

Release v0.3.33

12 Nov 01:17
Compare
Choose a tag to compare

Fix corner cases with non-leading positional arguments, helptext formatting.

Release v0.3.32

11 Nov 18:22
Compare
Choose a tag to compare
  • 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

10 Nov 03:43
f024f92
Compare
Choose a tag to compare

Fixed flag conversion bug caused by runtime annotations:

flag1: bool = False # worked
flag2: Annotated[bool, "something"] = False # failed

Release v0.3.30

07 Nov 14:03
64fda6f
Compare
Choose a tag to compare

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

03 Nov 03:33
Compare
Choose a tag to compare
  • Shift to upstream version of shtab for tab completion.
  • Support classes defined using attrs and pydantic.
  • Minor fixes for typing and docs.
  • Support dataclasses.InitVar.

Release v0.3.28

02 Nov 17:07
Compare
Choose a tag to compare

Yanked due to nerfstudio-project/nerfstudio#882.

  • Shift to upstream version of shtab for tab completion.
  • Support classes defined using attrs and pydantic.
  • Minor fixes for typing and docs.

Release v0.3.27

19 Oct 02:15
Compare
Choose a tag to compare
Fix type narrowing for Python 3.10