Skip to content

Commit 0f28ecc

Browse files
committed
[fel] should not sync the code node tools code
1 parent 3d5c9ab commit 0f28ecc

File tree

4 files changed

+1
-40
lines changed

4 files changed

+1
-40
lines changed

framework/fel/python/plugins/builtins/fit_py_code_node_tools/python_repl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This file is a part of the ModelEngine Project.
44
# Licensed under the MIT License. See License.txt in the project root for license information.
55
# ======================================================================================================================
6-
76
import multiprocessing
87
import os
98
from typing import Dict

framework/fel/python/plugins/builtins/fit_py_code_node_tools/python_repl_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def err(err_code: int, err_msg: str) -> 'Result':
7272
def _create_restricted_exec_env(config: Dict[str, object]):
7373
def safer_import(name, my_globals=None, my_locals=None, fromlist=(), level=0):
7474
if name not in config['whitelist'] or name in config['blacklist']:
75-
raise NameError(f'model {name} is not valid, WhiteList: {config["whitelist"]}')
75+
raise NameError(f'model {name} is not valid')
7676
return importlib.import_module(name)
7777

7878
safe_globals = {

framework/fel/python/plugins/builtins/fit_py_code_node_tools/safe_global.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This file is a part of the ModelEngine Project.
44
# Licensed under the MIT License. See License.txt in the project root for license information.
55
# ======================================================================================================================
6-
76
import builtins
87

98

framework/fel/python/plugins/builtins/fit_py_code_node_tools/tools.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)