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