def _parameters_for_completion(self):
        completions = []
        try:
            in_call = self.script.call_signatures()[0]
        except IndexError:
            in_call = None

        parameters = get_function_parameters(in_call)

        for parameter in parameters:
            try:
                name, value = parameter
            except ValueError:
                name = parameter[0]
                value = None

            if value is None:
                completions.append((name, '${1:%s}' % name))
            else:
                completions.append((name + '\t' + value,
                                   '%s=${1:%s}' % (name, value)))
        return completions
Get function / class' constructor parameters completions list
dataset/ETHPy150Open srusskih/SublimeJEDI/sublime_jedi/daemon.py/JediFacade._parameters_for_completion