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

Bundle repeated checks #559

Open
sbfnk opened this issue Feb 20, 2024 · 1 comment
Open

Bundle repeated checks #559

sbfnk opened this issue Feb 20, 2024 · 1 comment

Comments

@sbfnk
Copy link
Contributor

sbfnk commented Feb 20, 2024

          We should probably bundle these checks into one as it's getting repeated in several places.

Originally posted by @jamesmbaazam in #557 (comment)

@sbfnk
Copy link
Contributor Author

sbfnk commented Feb 20, 2024

We could define an assert_opts() function that has all the possible opts as arguments (with default) and then checks their classes.

@sbfnk sbfnk mentioned this issue Feb 20, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant