Validate multiple outputs using 'check_types' #1412
Unanswered
fimselamse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, I am only able to validate multiple outputs using
check_io
:However, this seems like a misuse of
check_io
, as I'm not checking for input. Instead, I would expectcheck_types
to handle multiple outputs:Additionally, it seems
check_io
only lazy-checks one output at a time before failing, instead of checking them all before returning the errors.The obvious workaround is to split the function into three, although this would create some redundancy if they share logic.
Beta Was this translation helpful? Give feedback.
All reactions