The main motivation for this functionality comes from the Python bindings: in order to load the Python script of a Node, the pyo3 library requires a Path. To provide this path the configuration section of a Node was modified by Zenoh-Flow, adding a python-script field.
Providing the path of the library in the Context is a much cleaner approach.
Additionally, we believe this information could be useful to application developers.
Describe the feature
The main motivation for this functionality comes from the Python bindings: in order to load the Python script of a Node, the
pyo3
library requires aPath
. To provide this path theconfiguration
section of a Node was modified by Zenoh-Flow, adding apython-script
field.Providing the path of the library in the
Context
is a much cleaner approach.Additionally, we believe this information could be useful to application developers.