Skip to content

astroid 4.1.1

Version history | Download JSON

  • PyPI https://pypi.org/project/astroid/
    Repository https://github.com/pylint-dev/astroid

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 2555
        "Any" : 77
        "Untyped" : 599
    • 81.5% coverage
    • 79.1% coverage (strict)
    • 3231 typable
      • 2555 typed
      • 599 untyped
      • 77 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 626
        "classes" : 2220
        "other" : 47
    • 230 functions (+0 overloads)
      • 396 parameters
    • 172 classes
      • 794 methods (+88 overloads)
        • 1310 parameters
      • 111 properties
    • 85 modules
      • 47 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
astroid 0.0% 0.0% 0 0
astroid.__pkginfo__ 0.0% 0.0% 0 0
astroid.arguments 60.9% 60.9% 23 0
astroid.astroid_manager 0.0% 0.0% 1 0
astroid.bases 89.4% 87.6% 113 0
astroid.brain.brain_argparse 60.0% 60.0% 5 0
astroid.brain.brain_attrs 50.0% 50.0% 10 0
astroid.brain.brain_boto3 100.0% 100.0% 4 0
astroid.brain.brain_builtin_inference 51.8% 51.8% 56 0
astroid.brain.brain_collections 60.0% 60.0% 5 0
astroid.brain.brain_crypt 100.0% 100.0% 2 0
astroid.brain.brain_ctypes 100.0% 100.0% 3 0
astroid.brain.brain_curses 100.0% 100.0% 2 0
astroid.brain.brain_dataclasses 86.7% 86.7% 15 0
astroid.brain.brain_datetime 100.0% 100.0% 3 0
astroid.brain.brain_dateutil 100.0% 100.0% 3 0
astroid.brain.brain_functools 40.0% 40.0% 5 0
astroid.brain.brain_gi 100.0% 100.0% 2 0
astroid.brain.brain_hashlib 100.0% 100.0% 2 0
astroid.brain.brain_http 100.0% 100.0% 2 0
astroid.brain.brain_hypothesis 100.0% 100.0% 6 0
astroid.brain.brain_io 100.0% 100.0% 2 0
astroid.brain.brain_mechanize 100.0% 100.0% 3 0
astroid.brain.brain_multiprocessing 100.0% 100.0% 2 0
astroid.brain.brain_namedtuple_enum 85.7% 85.7% 28 0
astroid.brain.brain_numpy_core_einsumfunc 100.0% 100.0% 3 0
astroid.brain.brain_numpy_core_fromnumeric 100.0% 100.0% 3 0
astroid.brain.brain_numpy_core_function_base 100.0% 100.0% 2 0
astroid.brain.brain_numpy_core_multiarray 100.0% 100.0% 3 0
astroid.brain.brain_numpy_core_numeric 100.0% 100.0% 3 0
astroid.brain.brain_numpy_core_numerictypes 100.0% 100.0% 3 0
astroid.brain.brain_numpy_core_umath 100.0% 100.0% 3 0
astroid.brain.brain_numpy_ma 100.0% 100.0% 3 0
astroid.brain.brain_numpy_ndarray 60.0% 60.0% 5 0
astroid.brain.brain_numpy_random_mtrand 100.0% 100.0% 3 0
astroid.brain.brain_numpy_utils 86.7% 86.7% 15 0
astroid.brain.brain_pathlib 100.0% 100.0% 5 0
astroid.brain.brain_pkg_resources 100.0% 100.0% 3 0
astroid.brain.brain_pytest 100.0% 100.0% 3 0
astroid.brain.brain_qt 85.7% 85.7% 7 0
astroid.brain.brain_random 60.0% 60.0% 5 0
astroid.brain.brain_re 80.0% 80.0% 5 0
astroid.brain.brain_regex 80.0% 80.0% 5 0
astroid.brain.brain_responses 100.0% 100.0% 3 0
astroid.brain.brain_scipy_signal 100.0% 100.0% 3 0
astroid.brain.brain_signal 100.0% 100.0% 2 0
astroid.brain.brain_six 22.2% 22.2% 9 0
astroid.brain.brain_sqlalchemy 100.0% 100.0% 2 0
astroid.brain.brain_ssl 100.0% 100.0% 3 0
astroid.brain.brain_statistics 100.0% 100.0% 5 0
astroid.brain.brain_subprocess 100.0% 100.0% 2 0
astroid.brain.brain_threading 100.0% 100.0% 2 0
astroid.brain.brain_type 60.0% 60.0% 5 0
astroid.brain.brain_typing 89.7% 89.7% 29 0
astroid.brain.brain_unittest 100.0% 100.0% 3 0
astroid.brain.brain_uuid 100.0% 100.0% 2 0
astroid.brain.helpers 100.0% 100.0% 8 0
astroid.builder 100.0% 100.0% 39 0
astroid.const 0.0% 0.0% 0 0
astroid.constraint 90.0% 90.0% 50 0
astroid.context 83.3% 83.3% 30 0
astroid.decorators 83.3% 83.3% 12 0
astroid.exceptions 66.2% 57.9% 145 0
astroid.helpers 77.4% 77.4% 31 0
astroid.inference_tip 100.0% 100.0% 6 0
astroid.interpreter.dunder_lookup 100.0% 100.0% 4 0
astroid.interpreter.objectmodel 10.4% 10.4% 96 0
astroid.manager 90.2% 88.5% 61 0
astroid.modutils 93.5% 93.5% 62 2
astroid.nodes.as_string 98.5% 98.5% 204 0
astroid.nodes.const 0.0% 0.0% 1 0
astroid.nodes.node_classes 86.7% 82.6% 973 0
astroid.nodes.node_ng 64.3% 61.9% 84 0
astroid.nodes.scoped_nodes.mixin 83.9% 83.9% 31 0
astroid.nodes.scoped_nodes.scoped_nodes 74.3% 73.2% 373 0
astroid.nodes.scoped_nodes.utils 100.0% 100.0% 2 0
astroid.nodes.utils 0.0% 0.0% 0 0
astroid.objects 49.2% 44.1% 59 0
astroid.protocols 85.8% 76.4% 106 0
astroid.raw_building 82.1% 82.1% 67 0
astroid.rebuilder 100.0% 100.0% 274 0
astroid.test_utils 30.0% 30.0% 10 0
astroid.transforms 100.0% 100.0% 18 0
astroid.typing 100.0% 100.0% 4 0
astroid.util 45.7% 37.1% 35 0

Incomplete Annotations

astroid.arguments (9 missing, 0 any)

Symbol Typable Typed Any
meth CallSite.init 4 2 0
meth CallSite.from_call 3 2 0
meth CallSite._unpack_args 3 1 0
meth CallSite.infer_argument 4 3 0
attr CallSite.argument_context_map 1 0 0
attr CallSite.positional_arguments 1 0 0
attr CallSite.keyword_arguments 1 0 0

astroid.astroid_manager (1 missing, 0 any)

Symbol Typable Typed Any
attr MANAGER 1 0 0

astroid.bases (12 missing, 2 any)

Symbol Typable Typed Any
attr BoundMethod.special_attributes 1 0 0
attr BoundMethod.bound 1 0 0
attr BoundMethod.original_caller 1 0 0
attr Instance.special_attributes 1 0 0
meth UnboundMethod.getattr 3 2 0
meth AsyncGenerator.init 3 0 0
meth Proxy.getattr 2 2 1
meth Proxy.infer 3 3 1
attr UnionType.parent 1 0 0
attr UnionType.left 1 0 0
attr UnionType.right 1 0 0
attr Generator.parent 1 0 0

astroid.brain.brain_argparse (2 missing, 0 any)

Symbol Typable Typed Any
func infer_namespace 3 1 0

astroid.brain.brain_attrs (5 missing, 0 any)

Symbol Typable Typed Any
func is_decorated_with_attrs 3 1 0
attr NEW_ATTRS_NAMES 1 0 0
attr ATTRS_NAMES 1 0 0
attr ATTRIB_NAMES 1 0 0

astroid.brain.brain_builtin_inference (27 missing, 0 any)

Symbol Typable Typed Any
func infer_getattr 3 1 0
attr infer_tuple 1 0 0
func infer_type 3 1 0
func infer_str 3 2 0
func register_builtin_transform 4 2 0
func infer_slice 3 1 0
func infer_issubclass 3 1 0
attr infer_frozenset 1 0 0
attr infer_list 1 0 0
func infer_len 3 2 0
func infer_dict_fromkeys 3 1 0
func infer_hasattr 3 1 0
func on_bootstrap 1 0 0
attr infer_set 1 0 0
func infer_bool 3 1 0
func infer_callable 3 1 0
func infer_int 3 1 0

astroid.brain.brain_collections (2 missing, 0 any)

Symbol Typable Typed Any
func easy_class_getitem_inference 3 1 0

astroid.brain.brain_dataclasses (2 missing, 0 any)

Symbol Typable Typed Any
attr DATACLASS_MODULES 1 0 0
attr DATACLASSES_DECORATORS 1 0 0

astroid.brain.brain_functools (3 missing, 0 any)

Symbol Typable Typed Any
prop LruWrappedModel.attrwrapped 1 0 0
prop LruWrappedModel.attrcache_info 1 0 0
prop LruWrappedModel.attr_cache_clear 1 0 0

astroid.brain.brain_namedtuple_enum (4 missing, 0 any)

Symbol Typable Typed Any
func infer_typing_namedtuple_class 3 1 0
func infer_typing_namedtuple_function 3 1 0

astroid.brain.brain_numpy_ndarray (2 missing, 0 any)

Symbol Typable Typed Any
func infer_numpy_ndarray 3 1 0

astroid.brain.brain_numpy_utils (2 missing, 0 any)

Symbol Typable Typed Any
func infer_numpy_attribute 4 3 0
func infer_numpy_name 4 3 0

astroid.brain.brain_qt (1 missing, 0 any)

Symbol Typable Typed Any
func pyqt4_qtcore_transform 1 0 0

astroid.brain.brain_random (2 missing, 0 any)

Symbol Typable Typed Any
func infer_random_sample 3 1 0

astroid.brain.brain_re (1 missing, 0 any)

Symbol Typable Typed Any
func infer_pattern_match 3 2 0

astroid.brain.brain_regex (1 missing, 0 any)

Symbol Typable Typed Any
func infer_pattern_match 3 2 0

astroid.brain.brain_six (7 missing, 0 any)

Symbol Typable Typed Any
func default_predicate 2 0 0
func transform_six_add_metaclass 2 0 0
func transform_six_with_metaclass 2 0 0
func six_moves_transform 1 0 0

astroid.brain.brain_type (2 missing, 0 any)

Symbol Typable Typed Any
func infer_type_sub 3 1 0

astroid.brain.brain_typing (3 missing, 0 any)

Symbol Typable Typed Any
func looks_like_typing_typevar_or_newtype 2 1 0
attr TYPING_ALIAS 1 0 0
attr TYPING_MEMBERS 1 0 0

astroid.constraint (5 missing, 0 any)

Symbol Typable Typed Any
attr EqualityConstraint.operand 1 0 0
attr TypeConstraint.classinfo 1 0 0
attr Constraint.node 1 0 0
attr Constraint.negate 1 0 0
attr ALL_CONSTRAINT_CLASSES 1 0 0

astroid.context (5 missing, 0 any)

Symbol Typable Typed Any
meth CallContext.init 4 3 0
attr CallContext.args 1 0 0
attr CallContext.keywords 1 0 0
attr CallContext.callee 1 0 0
attr InferenceContext.path 1 0 0

astroid.decorators (2 missing, 0 any)

Symbol Typable Typed Any
func path_wrapper 2 0 0

astroid.exceptions (49 missing, 12 any)

Symbol Typable Typed Any
meth AstroidIndexError.init 6 6 1
attr AstroidIndexError.node 1 0 0
attr AstroidIndexError.index 1 0 0
attr AstroidIndexError.context 1 0 0
attr ParentMissingError.target 1 0 0
meth ResolveError.init 4 4 1
attr ResolveError.context 1 0 0
meth InferenceError.init 20 20 1
attr InferenceError.node 1 0 0
attr InferenceError.context 1 0 0
attr InferenceError.target 1 0 0
attr InferenceError.targets 1 0 0
attr InferenceError.attribute 1 0 0
attr InferenceError.unknown 1 0 0
attr InferenceError.assign_path 1 0 0
attr InferenceError.caller 1 0 0
attr InferenceError.stmts 1 0 0
attr InferenceError.frame 1 0 0
attr InferenceError.call_site 1 0 0
attr InferenceError.func 1 0 0
attr InferenceError.arg 1 0 0
attr InferenceError.positional_arguments 1 0 0
attr InferenceError.unpacked_args 1 0 0
attr InferenceError.keyword_arguments 1 0 0
attr InferenceError.unpacked_kwargs 1 0 0
meth AttributeInferenceError.init 9 9 1
attr AttributeInferenceError.attribute 1 0 0
attr AttributeInferenceError.target 1 0 0
attr AttributeInferenceError.context 1 0 0
attr AttributeInferenceError.mros 1 0 0
attr AttributeInferenceError.super_ 1 0 0
attr AttributeInferenceError.cls 1 0 0
meth AstroidBuildingError.init 9 9 1
attr AstroidBuildingError.modname 1 0 0
attr AstroidBuildingError.error 1 0 0
attr AstroidBuildingError.source 1 0 0
attr AstroidBuildingError.path 1 0 0
attr AstroidBuildingError.cls 1 0 0
attr AstroidBuildingError.class_repr 1 0 0
meth AstroidTypeError.init 6 6 1
attr AstroidTypeError.node 1 0 0
attr AstroidTypeError.index 1 0 0
attr AstroidTypeError.context 1 0 0
meth NoDefault.init 5 5 1
attr NoDefault.func 1 0 0
attr NoDefault.name 1 0 0
meth AstroidError.init 3 3 1
attr AstroidError.message 1 0 0
meth SuperError.init 4 4 1
attr SuperError.super_ 1 0 0
meth TooManyLevelsError.init 5 5 1
attr TooManyLevelsError.level 1 0 0
attr TooManyLevelsError.name 1 0 0
meth MroError.init 6 6 1
attr MroError.mros 1 0 0
attr MroError.cls 1 0 0
attr MroError.context 1 0 0
meth NameInferenceError.init 6 6 1
attr NameInferenceError.name 1 0 0
attr NameInferenceError.scope 1 0 0
attr NameInferenceError.context 1 0 0

astroid.helpers (7 missing, 0 any)

Symbol Typable Typed Any
func is_supertype 3 1 0
func object_len 3 1 0
func has_known_bases 3 2 0
func is_subtype 3 1 0

astroid.interpreter.objectmodel (86 missing, 0 any)

Symbol Typable Typed Any
meth ModuleModel._builtins 1 0 0
prop ModuleModel.attr_builtins 1 0 0
prop ModuleModel.attrpath_ 1 0 0
prop ModuleModel.attr_name__ 1 0 0
prop ModuleModel.attrdoc_ 1 0 0
prop ModuleModel.attr_file__ 1 0 0
prop ModuleModel.attrdict_ 1 0 0
prop ModuleModel.attr_package__ 1 0 0
prop ModuleModel.attrspec_ 1 0 0
prop ModuleModel.attr_loader__ 1 0 0
prop ModuleModel.attrcached_ 1 0 0
prop UnboundMethodModel.attr_class__ 1 0 0
prop UnboundMethodModel.attrfunc_ 1 0 0
prop UnboundMethodModel.attr_self__ 1 0 0
prop BoundMethodModel.attrfunc_ 1 0 0
prop BoundMethodModel.attr_self__ 1 0 0
meth ObjectModel.init 1 0 0
meth ObjectModel.repr 1 0 0
meth ObjectModel.call 2 0 0
meth ObjectModel.get 3 0 0
meth ObjectModel.contains 2 1 0
meth ObjectModel.lookup 2 0 0
prop ObjectModel.attrne_ 1 0 0
meth GeneratorBaseModel.init__ 2 1 0
prop GeneratorBaseModel.attrname_ 1 0 0
prop GeneratorBaseModel.attr_doc__ 1 0 0
meth PropertyModel._init_function 2 0 0
prop PropertyModel.attr_fget 1 0 0
prop PropertyModel.attr_fset 1 0 0
prop PropertyModel.attr_setter 1 0 0
prop PropertyModel.attr_deleter 1 0 0
prop PropertyModel.attr_getter 1 0 0
meth DictModel._generic_dict_attribute 3 0 0
prop DictModel.attrclass_ 1 0 0
prop DictModel.attr_items 1 0 0
prop DictModel.attr_keys 1 0 0
prop DictModel.attr_values 1 0 0
prop InstanceModel.attr_class__ 1 0 0
prop InstanceModel.attrmodule_ 1 0 0
prop InstanceModel.attr_doc__ 1 0 0
prop InstanceModel.attrdict_ 1 0 0
meth GeneratorModel.init__ 1 0 0
prop OSErrorInstanceModel.attr_filename 1 0 0
prop OSErrorInstanceModel.attr_errno 1 0 0
prop OSErrorInstanceModel.attr_strerror 1 0 0
prop FunctionModel.attrname_ 1 0 0
prop FunctionModel.attr_doc__ 1 0 0
prop FunctionModel.attrqualname_ 1 0 0
prop FunctionModel.attr_defaults__ 1 0 0
prop FunctionModel.attrannotations_ 1 0 0
prop FunctionModel.attr_dict__ 1 0 0
prop FunctionModel.attrkwdefaults_ 1 0 0
prop FunctionModel.attr_module__ 1 0 0
prop FunctionModel.attrget_ 1 0 0
prop FunctionModel.attr_call__ 1 0 0
prop UnicodeDecodeErrorInstanceModel.attr_object 1 0 0
prop ImportErrorInstanceModel.attr_name 1 0 0
prop ImportErrorInstanceModel.attr_path 1 0 0
attr LEN_OF_IMPL_PREFIX 1 0 0
prop SyntaxErrorInstanceModel.attr_text 1 0 0
prop ExceptionInstanceModel.attrtraceback_ 1 0 0
prop SuperModel.attr_thisclass__ 1 0 0
prop SuperModel.attrselfclass 1 0 0
prop SuperModel.attrself_ 1 0 0
prop SuperModel.attr_class__ 1 0 0
meth ClassModel.init 1 0 0
prop ClassModel.attrmodule_ 1 0 0
prop ClassModel.attr_name__ 1 0 0
prop ClassModel.attrqualname_ 1 0 0
prop ClassModel.attr_doc__ 1 0 0
prop ClassModel.attrmro_ 1 0 0
prop ClassModel.attr_mro 1 0 0
prop ClassModel.attr_bases__ 1 0 0
prop ClassModel.attrclass_ 1 0 0
prop ClassModel.attr_subclasses__ 1 0 0
prop ClassModel.attrdict_ 1 0 0
prop ClassModel.attr_call__ 1 0 0
attr ClassModel.context 1 0 0
meth AsyncGeneratorModel.init 1 0 0

astroid.manager (6 missing, 1 any)

Symbol Typable Typed Any
func safe_repr 2 2 1
prop AstroidManager.register_transform 1 0 0
prop AstroidManager.unregister_transform 1 0 0
attr AstroidManager.astroid_cache 1 0 0
attr AstroidManager.extension_package_whitelist 1 0 0
attr AstroidManager.module_denylist 1 0 0
attr AstroidManager.prefer_stubs 1 0 0

astroid.modutils (4 missing, 0 any)

Symbol Typable Typed Any
attr EXT_LIB_DIRS 1 0 0
attr STD_LIB_DIRS 1 0 0
attr BUILTIN_MODULES 1 0 0
attr logger 1 0 0

astroid.nodes.as_string (3 missing, 0 any)

Symbol Typable Typed Any
meth AsStringVisitor.init 2 1 0
meth AsStringVisitor.visit_uninferable 2 1 0
attr to_code 1 0 0

astroid.nodes.const (1 missing, 0 any)

Symbol Typable Typed Any
attr OP_PRECEDENCE 1 0 0

astroid.nodes.node_classes (129 missing, 40 any)

Symbol Typable Typed Any
func unpack_infer 3 1 0
func are_exclusive 4 2 0
meth TryStar._infer_name 3 0 0
meth TryStar.get_children 1 0 0
meth EvaluatedObject._infer 3 3 1
meth Arguments._infer_name 3 0 0
meth Arguments.default_value 2 0 0
meth Arguments.is_argument 2 1 0
meth Arguments.find_argname 3 0 0
meth Arguments.get_children 1 0 0
meth Arguments._infer 3 3 1
prop Arguments.arguments 1 0 0
attr Arguments.vararg 1 0 0
attr Arguments.kwarg 1 0 0
meth TypeAlias._infer 3 3 1
meth If.get_children 1 0 0
meth If._get_yield_nodes_skip_functions 1 0 0
meth If._get_yield_nodes_skip_lambdas 1 0 0
prop If.blockstart_tolineno 1 0 0
meth Yield.get_children 1 0 0
meth Yield._get_yield_nodes_skip_functions 1 0 0
meth Yield._get_yield_nodes_skip_lambdas 1 0 0
meth AssignName._infer 3 3 1
meth AssignName.infer_lhs 3 3 1
attr AssignName.name 1 0 0
meth Try._infer_name 3 0 0
meth Try.get_children 1 0 0
meth Assign.get_children 1 0 0
meth Assign._get_yield_nodes_skip_functions 1 0 0
meth Assign._get_yield_nodes_skip_lambdas 1 0 0
meth With.get_children 1 0 0
prop With.blockstart_tolineno 1 0 0
attr DelName.name 1 0 0
meth Call.get_children 1 0 0
meth Call._infer 3 3 1
meth Call._populate_context_lookup 2 1 0
meth Attribute.get_children 1 0 0
meth Attribute._infer 3 3 1
attr Attribute.attrname 1 0 0
attr MatchSingleton.value 1 0 0
meth ImportFrom._infer 4 4 1
meth Import._infer 4 4 1
meth BinOp.get_children 1 0 0
meth BinOp._infer_binop 3 3 1
meth BinOp._infer 3 3 1
attr BinOp.op 1 0 0
meth FormattedValue.get_children 1 0 0
meth FormattedValue._infer 3 3 1
meth AssignAttr.get_children 1 0 0
meth AssignAttr._infer 3 3 1
meth AssignAttr.infer_lhs 3 3 1
attr AssignAttr.attrname 1 0 0
meth JoinedStr.get_children 1 0 0
meth JoinedStr._infer 3 3 1
meth JoinedStr._infer_with_values 3 3 1
meth JoinedStr._infer_from_values 4 4 1
meth JoinedStr._safe_infer_from_node 4 4 1
meth BoolOp.get_children 1 0 0
meth BoolOp._infer 3 3 1
meth Slice._wrap_attribute 2 0 0
meth Slice.getattr 3 1 0
meth Slice.get_children 1 0 0
meth Slice._infer 3 3 1
meth Raise.get_children 1 0 0
meth BaseContainer.itered 1 0 0
meth BaseContainer.get_children 1 0 0
meth BaseContainer._infer 3 3 1
meth AnnAssign.get_children 1 0 0
meth Unknown._infer 3 1 0
meth Assert.get_children 1 0 0
meth Global._infer_name 3 0 0
meth Global._infer 3 3 1
meth Comprehension.assign_type 1 0 0
meth Comprehension._get_filtered_stmts 5 1 0
meth Comprehension.get_children 1 0 0
meth Tuple.getitem 3 1 0
meth While.get_children 1 0 0
meth While._get_yield_nodes_skip_functions 1 0 0
meth While._get_yield_nodes_skip_lambdas 1 0 0
prop While.blockstart_tolineno 1 0 0
meth Delete.get_children 1 0 0
meth ParamSpec._infer 3 3 1
meth Decorators.get_children 1 0 0
meth Subscript.get_children 1 0 0
meth Subscript._infer_subscript 3 3 1
meth Subscript._infer 3 2 1
meth Subscript.infer_lhs 3 2 1
attr Subscript._SUBSCRIPT_SENTINEL 1 0 0
attr Subscript.ctx 1 0 0
meth Keyword.get_children 1 0 0
attr Keyword.arg 1 0 0
meth TypeVar._infer 3 3 1
meth Await.get_children 1 0 0
meth Starred.get_children 1 0 0
attr Starred.ctx 1 0 0
meth Dict.get_children 1 0 0
meth Dict.last_child 1 0 0
meth Dict.itered 1 0 0
meth Dict.bool_value 2 1 0
meth Dict._infer 3 3 1
meth IfExp.get_children 1 0 0
meth IfExp._infer 3 3 1
meth Name._get_name_nodes 1 0 0
meth Name._infer 3 3 1
attr Name.name 1 0 0
meth Nonlocal._infer_name 3 0 0
meth TypeVarTuple._infer 3 3 1
meth AugAssign.get_children 1 0 0
meth AugAssign._get_yield_nodes_skip_functions 1 0 0
meth AugAssign._get_yield_nodes_skip_lambdas 1 0 0
meth AugAssign._infer 3 3 1
attr AugAssign.op 1 0 0
meth List.getitem 3 1 0
meth Const.init 8 8 1
meth Const.getattr 2 0 0
meth Const.getitem 3 1 0
meth Const.itered 1 0 0
meth Const.bool_value 2 1 0
meth Const._infer 3 3 1
attr Const.value 1 0 0
meth Return.get_children 1 0 0
meth Return._get_return_nodes_skip_functions 1 0 0
meth Expr.get_children 1 0 0
meth Expr._get_yield_nodes_skip_functions 1 0 0
meth Expr._get_yield_nodes_skip_lambdas 1 0 0
meth Compare.get_children 1 0 0
meth Compare.last_child 1 0 0
meth Compare._to_literal 2 2 1
meth Compare._infer 3 3 1
meth UnaryOp.get_children 1 0 0
meth UnaryOp._infer_unaryop 3 3 1
meth UnaryOp._infer 3 3 1
attr UnaryOp.op 1 0 0
func const_factory 2 2 1
meth DelAttr.get_children 1 0 0
attr DelAttr.attrname 1 0 0
meth For.get_children 1 0 0
prop For.blockstart_tolineno 1 0 0
meth EmptyNode._infer 3 3 1
meth ExceptHandler.get_children 1 0 0
prop ExceptHandler.blockstart_tolineno 1 0 0
attr UNATTACHED_UNKNOWN 1 0 0

astroid.nodes.node_ng (30 missing, 2 any)

Symbol Typable Typed Any
meth NodeNG.infer 3 3 1
meth NodeNG.parent_of 2 1 0
meth NodeNG.child_sequence 2 0 0
meth NodeNG.locate_child 2 0 0
meth NodeNG.next_sibling 1 0 0
meth NodeNG.previous_sibling 1 0 0
meth NodeNG._get_name_nodes 1 0 0
meth NodeNG._get_return_nodes_skip_functions 1 0 0
meth NodeNG._get_yield_nodes_skip_functions 1 0 0
meth NodeNG._get_yield_nodes_skip_lambdas 1 0 0
meth NodeNG._infer_name 3 0 0
meth NodeNG._infer 3 3 1
meth NodeNG.inferred 1 0 0
meth NodeNG.instantiate_class 1 0 0
meth NodeNG.has_base 2 1 0
meth NodeNG.eq 2 1 0
meth NodeNG.repr_tree 7 1 0
meth NodeNG.bool_value 2 1 0
attr NodeNG.lineno 1 0 0
attr NodeNG.col_offset 1 0 0
attr NodeNG.parent 1 0 0
attr NodeNG.end_lineno 1 0 0
attr NodeNG.end_col_offset 1 0 0

astroid.nodes.scoped_nodes.mixin (5 missing, 0 any)

Symbol Typable Typed Any
meth LocalsDictNodeNG.iter 1 0 0
meth LocalsDictNodeNG.keys 1 0 0
meth LocalsDictNodeNG.values 1 0 0
meth LocalsDictNodeNG.items 1 0 0
meth LocalsDictNodeNG.contains 2 1 0

astroid.nodes.scoped_nodes.scoped_nodes (96 missing, 4 any)

Symbol Typable Typed Any
func function_to_method 3 0 0
meth FunctionDef.postinit 10 6 0
meth FunctionDef.is_abstract 3 1 0
meth FunctionDef._infer 3 3 1
meth FunctionDef.infer_yield_result 2 1 0
meth FunctionDef.get_children 1 0 0
prop FunctionDef.blockstart_tolineno 1 0 0
attr FunctionDef.name 1 0 0
attr FunctionDef.special_attributes 1 0 0
attr FunctionDef.locals 1 0 0
meth SetComp.bool_value 2 1 0
meth SetComp.get_children 1 0 0
attr SetComp.locals 1 0 0
meth Module.postinit 3 2 0
meth Module._get_stream 1 0 0
meth Module.stream 1 0 0
meth Module.getattr 4 1 0
meth Module.previous_sibling 1 0 0
meth Module.next_sibling 1 0 0
meth Module.wildcard_import_names 1 0 0
meth Module.public_names 1 0 0
meth Module.get_children 1 0 0
meth Module._infer 3 3 1
attr Module.special_attributes 1 0 0
attr Module.name 1 0 0
attr Module.file 1 0 0
attr Module.path 1 0 0
attr Module.package 1 0 0
attr Module.pure_python 1 0 0
attr Module.locals 1 0 0
meth ClassDef.implicit_locals 1 0 0
meth ClassDef.is_subtype_of 3 2 0
meth ClassDef._infer_type_call 3 0 0
meth ClassDef.local_attr_ancestors 3 1 0
meth ClassDef.instance_attr_ancestors 3 1 0
meth ClassDef.has_base 2 1 0
meth ClassDef.local_attr 3 1 0
meth ClassDef.instance_attr 3 1 0
meth ClassDef._metaclass_lookup_attribute 3 0 0
meth ClassDef._get_attribute_from_metaclass 4 0 0
meth ClassDef.getitem 3 1 0
meth ClassDef.methods 1 0 0
meth ClassDef.mymethods 1 0 0
meth ClassDef.implicit_metaclass 1 0 0
meth ClassDef._islots 1 0 0
meth ClassDef._slots 1 0 0
meth ClassDef.slots 1 0 0
meth ClassDef._inferred_bases 2 1 0
meth ClassDef._compute_mro 2 1 0
meth ClassDef.get_children 1 0 0
meth ClassDef._infer 3 3 1
prop ClassDef.blockstart_tolineno 1 0 0
prop ClassDef.basenames 1 0 0
prop ClassDef._all_slots 1 0 0
prop ClassDef._assign_nodes_in_scope 1 0 0
attr ClassDef.decorators 1 0 0
attr ClassDef.special_attributes 1 0 0
attr ClassDef.type 1 0 0
attr ClassDef.locals 1 0 0
attr ClassDef.name 1 0 0
attr SYNTHETIC_ROOT 1 0 0
meth GeneratorExp.get_children 1 0 0
attr GeneratorExp.locals 1 0 0
meth DictComp.bool_value 2 1 0
meth DictComp.get_children 1 0 0
attr DictComp.locals 1 0 0
func get_wrapping_class 2 0 0
meth ListComp.postinit 3 2 0
meth ListComp.bool_value 2 1 0
meth ListComp.get_children 1 0 0
attr ListComp.locals 1 0 0
meth Lambda.init 6 5 0
meth Lambda.get_children 1 0 0
meth Lambda._infer 3 3 1
meth Lambda._get_yield_nodes_skip_functions 1 0 0
attr Lambda.special_attributes 1 0 0
attr Lambda.locals 1 0 0
attr BUILTIN_DESCRIPTORS 1 0 0
attr EXCEPTION_BASE_CLASSES 1 0 0

astroid.objects (30 missing, 3 any)

Symbol Typable Typed Any
prop ExceptionInstance.special_attributes 1 0 0
meth Property.init 6 0 0
meth Property._infer 3 3 1
attr Property.function 1 0 0
attr Property.special_attributes 1 0 0
attr DictInstance.special_attributes 1 0 0
meth Super._infer 3 2 1
meth Super.super_mro 1 0 0
meth Super.getattr 3 1 0
prop Super._proxied 1 0 0
prop Super.name 1 0 0
attr Super.special_attributes 1 0 0
attr Super.type 1 0 0
attr Super.mro_pointer 1 0 0
meth PartialFunction.init 6 0 0
attr PartialFunction.filled_args 1 0 0
attr PartialFunction.filled_keywords 1 0 0
attr PartialFunction.filled_positionals 1 0 0
meth FrozenSet._infer 3 2 1
prop FrozenSet._proxied 1 0 0

astroid.protocols (15 missing, 10 any)

Symbol Typable Typed Any
func named_expr_assigned_stmts 5 5 1
func sequence_assigned_stmts 5 5 1
func const_infer_unary_op 3 0 0
func arguments_assigned_stmts 5 5 1
func starred_assigned_stmts 5 5 1
func excepthandler_assigned_stmts 5 5 1
func with_assigned_stmts 5 5 1
func assend_assigned_stmts 5 5 1
func set_infer_unary_op 3 0 0
func assign_assigned_stmts 5 5 1
func tuple_infer_unary_op 3 0 0
func list_infer_unary_op 3 0 0
func for_assigned_stmts 5 5 1
func dict_infer_unary_op 3 0 0
func assign_annassigned_stmts 5 5 1

astroid.raw_building (12 missing, 0 any)

Symbol Typable Typed Any
func attach_import_node 4 3 0
attr TYPE_NONE 1 0 0
func attach_const_node 4 2 0
meth InspectBuilder.imported_member 4 2 0
func attach_dummy_node 4 2 0
attr TYPE_ELLIPSIS 1 0 0
attr TYPE_NOTIMPLEMENTED 1 0 0
attr logger 1 0 0
func build_dummy 2 1 0

astroid.test_utils (7 missing, 0 any)

Symbol Typable Typed Any
func enable_warning 2 0 0
func get_name_node 4 0 0
func brainless_manager 1 0 0

astroid.util (19 missing, 3 any)

Symbol Typable Typed Any
meth BadUnaryOperationMessage.init 4 0 0
meth BadUnaryOperationMessage._object_type 2 0 0
prop BadUnaryOperationMessage._object_type_helper 1 0 0
attr BadUnaryOperationMessage.operand 1 0 0
attr BadUnaryOperationMessage.op 1 0 0
attr BadUnaryOperationMessage.error 1 0 0
meth BadBinaryOperationMessage.init 4 0 0
attr BadBinaryOperationMessage.left_type 1 0 0
attr BadBinaryOperationMessage.right_type 1 0 0
attr BadBinaryOperationMessage.op 1 0 0
meth UninferableBase.getattribute 2 2 1
meth UninferableBase.call 3 3 2
meth UninferableBase.accept 2 0 0

Type-Ignore Comments

Flavor Count
type: ignore[attr-defined] 2