allow path in from_py_with
and deprecate string literal
#12335
Loading
from_py_with
and deprecate string literal
#12335