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.