CodeQL library for Python
codeql/python-all 2.2.0 (changelog, source)
Search

Class ModelInput::TypeModel

A unit class for adding additional type model rows from CodeQL models.

Import path

import semmle.python.frameworks.data.internal.ApiGraphModels

Direct supertypes

Indirect supertypes

Predicates

getASink

Gets a data-flow node that is a sink of the given type, usually because it is an argument passed to a parameter of that type.

getASource

Gets a data-flow node that is a source of the given type.

getAnApiNode

Gets an API node that is a source or sink of the given type.

isTypeUsed

Holds if any of the other predicates in this class might have a result for the given type.

Inherited predicates

toString

Gets a textual representation of this element.

from Unit