Package io.deephaven.integrations.python
Class PythonThrowingRunnable
java.lang.Object
io.deephaven.integrations.python.PythonThrowingRunnable
- All Implemented Interfaces:
ThrowingRunnable<Exception>
@ScriptApi
public class PythonThrowingRunnable
extends Object
implements ThrowingRunnable<Exception>
A
ThrowingRunnable
implementation which executes a Python callable.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PythonThrowingRunnable
public PythonThrowingRunnable(org.jpy.PyObject pyObjectIn) Creates a new runnable.- Parameters:
pyObjectIn
- the python object providing a function - must either be callable or have an "apply" attribute which is callable.
-
-
Method Details
-
run
Description copied from interface:ThrowingRunnable
SeeRunnable.run()
.- Specified by:
run
in interfaceThrowingRunnable<Exception>
- Throws:
Exception
-