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

Add checks for input types in Task #55

Closed
gcroci2 opened this issue Mar 20, 2024 · 0 comments · Fixed by #64
Closed

Add checks for input types in Task #55

gcroci2 opened this issue Mar 20, 2024 · 0 comments · Fixed by #64
Assignees
Milestone

Comments

@gcroci2
Copy link
Contributor

gcroci2 commented Mar 20, 2024

Even if type hints provide some level of validation for input types, they don't prevent runtime errors if the actual values passed to the class constructor are incorrect.

We should add explicit runtime checks ensures that the class constructor fails with informative error messages when incorrect inputs are provided. This provides an extra layer of safety and can prevent users from bugs and errors.

@gcroci2 gcroci2 added this to the M1.1a milestone Mar 20, 2024
@gcroci2 gcroci2 self-assigned this Mar 26, 2024
@gcroci2 gcroci2 linked a pull request Mar 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant