This allows users to pass e.g. a Python int instead of an AiiDA Int node. Although having this in the documentation is already lovely, a module that explains this as well as its usage would be a great addition to the tutorials.
One good question would be what unit this should belong to. In a sense this fits with "Writing workflows", where writing calculation functions and workflows are explained.
One nice feature in AiiDA is that you can automatically serialize inputs into AiiDA data types by specifying a
serializer
on the input port:https://aiida.readthedocs.io/projects/aiida-core/en/latest/topics/processes/usage.html#automatic-input-serialization
This allows users to pass e.g. a Python
int
instead of an AiiDAInt
node. Although having this in the documentation is already lovely, a module that explains this as well as its usage would be a great addition to the tutorials.One good question would be what unit this should belong to. In a sense this fits with "Writing workflows", where writing calculation functions and workflows are explained.