get_step_type

Contents

get_step_type#

rapidtools.jobs.get_step_type(name: str) → StepType[source]#

Look up a step type by the name used in job files.

Raises:

JobError – If no such step type exists; the message suggests the closest name.

Example

>>> get_step_type('analyze.vlm').activity
'inference'