class documentation

class CommonPluginApi: (source)

Known subclasses: mypy.plugin.Plugin

View In Hierarchy

A common plugin API (shared between semantic analysis and type checking phases) that all plugin hooks get independently of the context.

Method lookup_fully_qualified Lookup a symbol by its full name (including module).
Class Variable options Undocumented
@abstractmethod
def lookup_fully_qualified(self, fullname: str) -> SymbolTableNode|None: (source)
overridden in mypy.plugin.Plugin

Lookup a symbol by its full name (including module). This lookup function available for all plugins. Return None if a name is not found. This function doesn't support lookup from current scope. Use SemanticAnalyzerPluginInterface.lookup_qualified() for this.

overridden in mypy.plugin.Plugin

Undocumented