Skip to content

Change type_check to a decorator #4500

Open
@chrisjsewell

Description

@chrisjsewell

Now that we are using typing, we could replace aiida/common/lang.py::type_check with a decorator, to test against the types.

Something like this: https://github.com/prechelt/typecheck-decorator

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions