'Returns a list of OutputArgument, InOutArgument and Result.
If return values are present, they are at the end ot the list.'

@property
def result_variables(self):

    args = [arg for arg in self.arguments if isinstance(arg, (OutputArgument, InOutArgument))]
    args.extend(self.results)
    return args
