def convert(self, pattern: str) -> str:
        """Convert the goat step string to CFParse String"""
        parameters = OrderedDict()
        for parameter in self.signature.parameters.values():
            annotation = self.convert_type_to_parse_type(parameter)
            parameters[parameter.name] = "{%s:%s}" % (parameter.name, annotation)

        formatter = GoatFormatter()

        # We have to use vformat here to ensure that kwargs will be OrderedDict
        values = parameters.values()
        parameter_list = list(values)
        converted_pattern = formatter.vformat(pattern, parameter_list, parameters)

        self.context_params = formatter.unused_args
        return converted_pattern
Convert the goat step string to CFParse String