module documentation
(source)

This is a module for various lookup functions: functions that will find a semantic node by its name.
Function lookup​_fully​_qualified Find a symbol using it fully qualified name.
def lookup_fully_qualified(name, modules, *, raise_on_missing=False): (source)

Find a symbol using it fully qualified name.

The algorithm has two steps: first we try splitting the name on '.' to find the module, then iteratively look for each next chunk after a '.' (e.g. for nested classes).

This function should not be used to find a module. Those should be looked in the modules dictionary.

Parameters
name:strUndocumented
modules:Dict[str, MypyFile]Undocumented
raise​_on​_missing:boolUndocumented
Returns
Optional[SymbolTableNode]Undocumented