Module class

Definition

A runnable module that can be used in a graph.

This class is not intended to be used directly. Use this Module class instead.

Module(module_id, module_def=None, module_version=None, default_version=None)
Inheritance
builtins.object
Module

Parameters

module_id
str

The module ID.

module_def
ModuleDef

The module definition object.

module_version
ModuleVersion

The module version to use while constructing the graph.

default_version
str

The default version to use in case a module_version resolution is needed.