An optional method which searches for possible specs with given *parent* module spec. If *parent* is *None*, PathEntryFinder.discover will search for top-level modules. Returns an iterable of possible specs.
importlib.abc/PathEntryFinder.discover
PathEntryFinder.discover