You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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 also
ScoringMethod
, that is used as anEnum
children to check on the validity of a variable (name
). Finally, consider also adding properties (decorator) and__getitem__
method to theTask
class.The text was updated successfully, but these errors were encountered: