Message12193
Mohamad,
I am not sure if this type of coercion is currently supported by Jython.
There is one more thing you can try. Internally, Jython represents Python functions in Java with the same signature style as PyObject.__call__.
PyObject.__call__, see http://www.javadoc.io/doc/org.python/jython-standalone/2.7.1
For your use-case this is relevant:
PyObject __call__(PyObject[] args, String[] keywords)
Please try it like this:
public interface TrexClient{
public void func1(PyObject[] args, String[] keywords);
} |
|
Date |
User |
Action |
Args |
2018-12-04 03:24:35 | stefan.richthofer | set | messageid: <1543893875.0.0.788709270274.issue2717@psf.upfronthosting.co.za> |
2018-12-04 03:24:34 | stefan.richthofer | set | recipients:
+ stefan.richthofer, jeff.allen, mohamad.mahajna |
2018-12-04 03:24:34 | stefan.richthofer | link | issue2717 messages |
2018-12-04 03:24:34 | stefan.richthofer | create | |
|