parse scripts by AST in converter module.
Use the AST replaces the importlib/inspect modules to analyze and modify network definition script. The importlib/inspect must load python script to analyze, but AST analysis is static code analysis and is very secure.
Showing
此差异已折叠。
想要评论请 注册 或 登录