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