Shift each validator under _check_input (e.g. aws provider validation), for each provider, into a separate method to be called iteratively, distributing the burden of _check_input, to enable more efficient raising of a possible ValueError and earlier exiting on return data while avoiding premature skipping of validation steps.
Value and/or benefit
Developers can add or refactor provider validation steps, for the infrastructure stage, as separate modules to enhance logic conditionals to more effectively handle ValueError or data returns and bypass excessive checks.
Anything else?
This request is follow-up to discussion in PR#2788
Feature description
Shift each validator under
_check_input
(e.g. aws provider validation), for each provider, into a separate method to be called iteratively, distributing the burden of _check_input, to enable more efficient raising of a possibleValueError
and earlier exiting onreturn data
while avoiding premature skipping of validation steps.Value and/or benefit
Developers can add or refactor provider validation steps, for the infrastructure stage, as separate modules to enhance logic conditionals to more effectively handle
ValueError
ordata
returns and bypass excessive checks.Anything else?
This request is follow-up to discussion in PR#2788