class documentation

class TypeVarLikeQuery(TypeQuery[TypeVarLikeList]): (source)

View In Hierarchy

Find TypeVar and ParamSpec references in an unbound type.

Method __init__ Undocumented
Method visit_callable_type Undocumented
Method visit_unbound_type Undocumented
Instance Variable api Undocumented
Instance Variable include_callables Undocumented
Instance Variable scope Undocumented
Instance Variable skip_alias_target Undocumented
Method _seems_like_callable Undocumented
def __init__(self, api: SemanticAnalyzerCoreInterface, scope: TypeVarLikeScope, *, include_callables: bool = True): (source)

Undocumented

def visit_callable_type(self, t: CallableType) -> TypeVarLikeList: (source)

Undocumented

def visit_unbound_type(self, t: UnboundType) -> TypeVarLikeList: (source)

Undocumented

Undocumented

include_callables = (source)

Undocumented

Undocumented

skip_alias_target: bool = (source)

Undocumented

def _seems_like_callable(self, type: UnboundType) -> bool: (source)

Undocumented