Skip to content

fix(cli): set defaults using keyword arguments in args models

Muniza requested to merge mnz/cli into main

When setting defaults using positional arguments, pylance complains that the field is required if no argument for it is provided. Using keyword arguments fixes this issue. See also: https://github.com/pydantic/pydantic/issues/3753

Merge request reports