This release primarily extends the features of v3.6.0
Features
- Json data can now be passed both positionally, and via keyword to lists. I.e.
This feature is enabled by default, EXCEPT for the case where each element is a string (e.g.
$ myscript '[1,2,3]'list[str]). To enable it for these cases, see next bullet point. - 2 new
Parameterconfigurations:Parameter.json_dict: Optional[bool]- Whether or not to allow json-like data for dicts.Nonebe default, which is the same asTrueexcept when the annotated class is union'd with astr.Parameter.json_list: Optional[bool]- Whether or not to allow json-like data for lists.Nonebe default, which is the same asTrueexcept when each element of the annotated class isstr.
Full Changelog: v3.6.0...v3.7.0