pypi cyclopts 3.21.0
v3.21.0

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

Features

  • cyclopts.validators.LimitedChoice improvements (by @BrianPugh in #483):
    • If LimitedChoice min value is negative, then all parameters in the group must be specified.
    • New LimitedChoice argument allow_none=False. If True, then also allow 0 CLI parameters (even if min is greater than 0).
  • New group validator all_or_none, which is just the instantiated object LimitedChoice(-1, allow_none=True).
  • Mutually exclusive object cyclopts.validators.mutually_exclusive for convenience by @BrianPugh in #482

Bug Fixes

  • Fix multiple anonymous groups resolving to the same group. by @BrianPugh in #481

Documentation

Full Changelog: v3.20.0...v3.21.0

Don't miss a new cyclopts release

NewReleases is sending notifications on new releases.