| 24 | } |
| 25 | |
| 26 | void create_python_module(JsonParam &node_param, |
| 27 | std::shared_ptr<PythonModule> &python_module) { |
| 28 | std::string module_name; |
| 29 | dump_node_json(node_param); |
| 30 | node_param.get_string("module", module_name); |
| 31 | JsonParam node_option_json; |
| 32 | node_param.get_object("option", node_option_json); |
| 33 | python_module = std::make_shared<PythonModule>(module_name, module_name, 0, |
| 34 | node_option_json); |
| 35 | } |
| 36 | |
| 37 | void get_python_module_info(JsonParam &node_param, std::string &module_name, |
| 38 | std::string &option) { |
no test coverage detected