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
As you can see, the second invocation of the test_kwargs calcfunction passes a normal int as an argument, but the input validation does not catch it and simply executes the function where the kwargs contains the normal int value. In contrast, if we don't use **kwargs but explicitly define the arguments, the validation does work:
MWE:
As you can see, the second invocation of the
test_kwargs
calcfunction passes a normalint
as an argument, but the input validation does not catch it and simply executes the function where the kwargs contains the normalint
value. In contrast, if we don't use**kwargs
but explicitly define the arguments, the validation does work:Originally reported on the mailing list: https://groups.google.com/g/aiidausers/c/BmDOzte4vWQ/m/v7PZUTywBAAJ
The text was updated successfully, but these errors were encountered: