Module Class

A runnable module that can be used in a graph.

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

Initialize Module.

Inheritance
builtins.object
Module

Constructor

Module(module_id, module_def=None, module_version=None, default_version=None)

Parameters

Name Description
module_id
Required
str

The module ID.

module_def

The module definition object.

Default value: None
module_version

The module version to use while constructing the graph.

Default value: None
default_version
str

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

Default value: None
module_id
Required
str

The module ID.

module_def
Required

The module definition object.

module_version
Required

The module version to use while constructing the graph.

default_version
Required
str

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