Bridges
Bridges are a part of Leon that allow to make the connection between his core and his modules. You can think of them as connectors too. The bridges also execute the Leon's modules. Actually, the core creates a Node.js child process which executes the given module.
In the future, we would like to have the possibility to write Leon's modules in other languages and not only Python.
Tip
Bridges can be found in the bridges
folder.
#
PythonThe Python bridge is the reason why Leon needs Python to work today. Because there is only one bridge available until now.
If you wish to execute a Python module standalone, without a child process, run the following command from the project root directory:
To understand what is the query-object.sample.json
file for, take a look at this section.