'Am I overlooking some of the power of PyCharm autocomplete?

I am entering some code using just the standard Python library path.Path. The final product should be this:

import pathlib
outDir=f"inDir.analyzed"
pathlib.Path(outDir).mkdir(parents = True, exist_ok = True)

However the autocomplete is not really helping me out here. When I get to the point of adding the optional parameters it does not jump in for code assist:

import pathlib
outDir=f"inDir.analyzed"
pathlib.Path(outDir).mkdir(par   # I hit control-space.. 
                                #but the suggestions do not include anything useful
                                # and in particular no "parent" prompt

enter image description here

so then I end up needing to consult SOF again to see how to do this properly. Pycharm is an awesome IDE - am I missing a capability it has to help here?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source