Skip to content

module myna.core.components.component_class_lookup

Functionality for looking up component subclasses


function return_step_class

return_step_class(step_name, verbose=True)

Given a string name of a component subclass, return an instance of the subclass

The input file for myna specifies the component class using an input string. This allows for a consistent interface for a Myna user to interact with the myna component classes. Changing the key names of the step_class_lookup dictionary should be avoided for backwards compatibility.

Args:

  • step_name: string of the component subclass name

This file was automatically generated via lazydocs.