public List<String> getParameterNames(String name) {
PyObject obj = function(name);
PythonInterpreter pi = py.interpreter();
pi.exec("from inspect import getargspec");
PyFunction getargspec = (PyFunction) pi.get("getargspec");
PySequence argspec =
(PySequence) getargspec.__call__(obj.__getattr__("wrapped")).__getitem__(0);
List<String> list = new ArrayList();
int i = 0;
for (Object item : (Collection) argspec) {
//skip first argument because that is what gets evaluated by