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

Modularize types checks #70

Closed
gcroci2 opened this issue Apr 8, 2024 · 1 comment
Closed

Modularize types checks #70

gcroci2 opened this issue Apr 8, 2024 · 1 comment
Labels
Milestone

Comments

@gcroci2
Copy link
Contributor

gcroci2 commented Apr 8, 2024

We can first evaluate and try pydantic package for this, which has a dataclasses module.

If it doesn't work well enough for use, we can anyway make the checks a bit more modular as per #64 (comment).

In another project, decorators have been used to check on objects' types (see this PR). See alsoScoringMethod, that is used as an Enum children to check on the validity of a variable (name). Finally, consider also adding properties (decorator) and __getitem__ method to the Task class.

@gcroci2
Copy link
Contributor Author

gcroci2 commented Aug 28, 2024

We've decided to implement the functionalities originally planned for the annubes package within the NeuroGym package instead, which represents the current state-of-the-art.

@gcroci2 gcroci2 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant