Repository navigation
v5.7.2
Bug Fixes
- Treat
typing.Final[X]andReadOnly[X]asX(e.g. a dataclass field annotatedFinal[int]) by @RavSinghChandan in #1114 - Pydantic fields declared with an
alias(orvalidation_alias) keep their value from the CLI, config and JSON instead of silently falling back to their default (requires pydantic>=2.11) by @Yasser-Ameur in #1115 - Environment values split by a delimiter (e.g.
os.pathsepforlist[Path]) have each element's surrounding whitespace stripped, and empty elements are dropped instead of becomingPath(".")by @mokshupadhyay in #1116 - A custom
Parameter.env_var_splitwith the documented(type_, val)signature no longer raisesTypeErrorby @BrianPugh in #1117 - A
Parameter(count=True)flag that isn't given now uses the function's default (and config/env values) instead of always0; code usingOptional[int] = Nonenow receivesNonewhen the flag is absent by @Yasser-Ameur in #1118
New Contributors
- @Yasser-Ameur made their first contribution in #1115
Full Changelog: v5.7.1...v5.7.2