Fail to run overly long DolphinDB scripts with Python API

14 Views Asked by At

When calling session.run() to execute overly long DolphinDB scripts in Python, the following error occurs:

RuntimeError: <Exception> in run: Failed to parse the incoming object with I0 error type 13
1

There are 1 best solutions below

0
JaneYe On

You can encapsulate DolphinDB scripts into a defined module or function view on DolphinDB server, and then call the scripts using s.run(func, args) in Python.