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

Module ModelsAsData

Provides classes for contributing a model, or using the interpreted results of a model represented as data.

  • Use the ModelInput module to contribute new models.
  • Use the ModelOutput module to access the model results in terms of API nodes.

The package name refers to the top-level module the import comes from, and not a PyPI package. So for from foo.bar import baz, the package will be foo.

Import path

import semmle.python.frameworks.data.ModelsAsData

Aliases

ModelInput

Module containing hooks for providing input data to be interpreted as a model.

ModelOutput

Module providing access to the imported models in terms of API graph nodes.