is_control query param now accepts str or None, with allowed str values being only "true" (case-insensitive) via custom validation
note: for the other query params we rely on the n-APIs to do the validation, but since this behaviour for is_control is a bit unintuitive, having basic validation in f-API may help to avoid confusion (for us and users)
valid str values are passed on, as is, to n-APIs
Checklist
This section is for the PR reviewer
[x] PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see our Contributing Guidelines for more info)
[x] PR has a label for the release changelog or skip-release (to be applied by maintainers only)
[x] PR links to GitHub issue with mention Closes #XXXX
[x] Tests pass
[x] Checks pass
For new features:
[x] Tests have been added
For bug fixes:
[x] There is at least one test that would fail under the original bug conditions.
Changes proposed in this pull request:
is_control
query param now accepts str orNone
, with allowed str values being only "true" (case-insensitive) via custom validationis_control
is a bit unintuitive, having basic validation in f-API may help to avoid confusion (for us and users)Checklist
This section is for the PR reviewer
[ENH]
,[FIX]
,[REF]
,[TST]
,[CI]
,[MNT]
,[INF]
,[MODEL]
,[DOC]
) (see our Contributing Guidelines for more info)skip-release
(to be applied by maintainers only)Closes #XXXX
For new features:
For bug fixes: