Closed larsoner closed 1 year ago
Pydantic would then be a second step, where we can actually validate the input
Originally posted by @hoechenberger in https://github.com/mne-tools/mne-bids-pipeline/issues/646#issuecomment-1309260129
In other words, we should use pydantic (maybe) to validate inputs to the extent possible. Ideally we could get rid of _validate_type and _check_option usage, too.
pydantic
_validate_type
_check_option
Pydantic would then be a second step, where we can actually validate the input
Originally posted by @hoechenberger in https://github.com/mne-tools/mne-bids-pipeline/issues/646#issuecomment-1309260129
In other words, we should use
pydantic
(maybe) to validate inputs to the extent possible. Ideally we could get rid of_validate_type
and_check_option
usage, too.