Skip to content

Run-time type checking #21

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

Open
adamamer20 opened this issue Jul 6, 2024 · 0 comments · May be fixed by #143
Open

Run-time type checking #21

adamamer20 opened this issue Jul 6, 2024 · 0 comments · May be fixed by #143
Labels
feature New functionality added to the project.

Comments

@adamamer20
Copy link
Member

adamamer20 commented Jul 6, 2024

Due to the extensive type annotations in the library, runtime type checking. This ensures that functions receive and return values of the expected types, catching potential bugs and mismatches early in the development. Three main libraries exists for this purpose: Typeguard, Pydantic, and Beartype. Performance overhead need to be tested.
Beartype seems to be the most promising as it has minimal performance overhead and supports user-defined types for type annotations.

@adamamer20 adamamer20 added the enhancement Improvements to existing features or performance. label Jul 6, 2024
@adamamer20 adamamer20 added feature New functionality added to the project. and removed enhancement Improvements to existing features or performance. labels Mar 18, 2025
@adamamer20 adamamer20 linked a pull request Apr 4, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality added to the project.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant