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

better errors in soopervisor #73

Open
edublancas opened this issue Mar 17, 2022 · 0 comments
Open

better errors in soopervisor #73

edublancas opened this issue Mar 17, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@edublancas
Copy link
Contributor

we use pydantic to validate the soopervisor.yaml file schema, however, the error messages aren't clear. so we should customize them (we already did something similar in ploomber, so we could borrow some code from there).

Furthermore, we should add some logic to help them quickly identify typos. example, if they have mounted_volume instead of mounted_volumes, we can use difflib for that https://docs.python.org/3/library/difflib.html#difflib.get_close_matches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant