pypi cyclopts 3.7.0
v3.7.0

latest releases: 5.3.2, 5.3.1, 5.3.0...
21 months ago

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.
    $ myscript '[1,2,3]'
    This feature is enabled by default, EXCEPT for the case where each element is a string (e.g. list[str]). To enable it for these cases, see next bullet point.
  • 2 new Parameter configurations:
    • Parameter.json_dict: Optional[bool] - Whether or not to allow json-like data for dicts. None be default, which is the same as True except when the annotated class is union'd with a str.
    • Parameter.json_list: Optional[bool] - Whether or not to allow json-like data for lists. None be default, which is the same as True except when each element of the annotated class is str.

Full Changelog: v3.6.0...v3.7.0

Don't miss a new cyclopts release

NewReleases is sending notifications on new releases.