pelagos_py.steps.base_step#
- pelagos_py.steps.base_step.REGISTERED_STEPS[source]#
Registry of explicitly registered step classes.
- pelagos_py.steps.base_step.register_step(cls)[source]#
Decorator to mark a step class for inclusion in the pipeline.
- class pelagos_py.steps.base_step.BaseStep(name, parameters=None, diagnostics=False, context=None)[source]#
Bases:
pelagos_py.utils.config_mirror.ConfigMirrorMixinBase class for pipeline steps with config-mirroring support. Every concrete subclass (registered via @register_step) inherits this.
- classmethod describe_parameters()[source]#
Return a JSON-serialisable description of this step’s parameters.
Introspection surface for external tools (e.g. a dashboard) that need to render a parameter form without instantiating the step. See
pelagos_py.utils.parameter_spec.describe().
- log_warn(message, warning_type=UserWarning)[source]#
Log a warning-level message with step name prefix.
- halt(message)[source]#
Stop the pipeline cleanly for an unrecoverable misconfiguration.
Logs
message(the detail and any fix/install hint) at ERROR level, then a terminal STOP line marking the deliberate halt, and exits. Use this instead of raising for config problems discovered at run time, so the user sees one actionable error rather than a wrapped traceback.