def get_id(self):
        """Return a custom id from gathered data."""

        return (
            (
                self.node.id,
                self.parameter_name,
            )
            if self.subparameter_index is None
            else (
                self.node.id,
                self.parameter_name,
                self.subparameter_index,
            )
        )
Return a custom id from gathered data.
nodezator/graphman/socket/input.py