Skip to content

Commit 1e942b0

Browse files
committed
fix
1 parent 757b540 commit 1e942b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci_scripts/check_api_parameters.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ def _check_params_in_description_with_fullargspec(rstfilename, funcname):
123123
try:
124124
func = eval(funcname)
125125
except NameError:
126+
import paddle # noqa: F401
127+
126128
func = eval(funcname)
127129
source = inspect.getsource(func)
128130

0 commit comments

Comments
 (0)