[Python-ideas] Type hinting for path-related functions