Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] - Set separate validator methods to be called in infrastructure stage's _check_input actions for each provider #2817

Open
joneszc opened this issue Nov 1, 2024 · 1 comment

Comments

@joneszc
Copy link
Contributor

joneszc commented Nov 1, 2024

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 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

@Adam-D-Lewis
Copy link
Member

I think an examlpe would help clarify what you're looking for here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New 🚦
Development

No branches or pull requests

2 participants