Skip to content

v2026.04.28

Latest

Choose a tag to compare

@rolfverberg rolfverberg released this 28 Apr 17:54
1176fd9

What's Changed

Fixed Pydantic sphinx autodoc issues on Github deployment

Removed all Python pipeline item (processor, reader and writer) classes imports except for those required by the Pydantic sphinx autodoc bot from all (sub)package level __init__.py files. This benefits the overall setup speed of running any workflow, but does result in a change in how processors, readers and writers are called from the pipeline.yaml. Previously, they could be called from the packet level, going forward they should be called from the module level. For example:

    ⋮
 - common.YAMLReader:
      filename: energy_calibration_result.yaml
      schema: edd.models.MCAEnergyCalibrationConfig
 - edd.MCATthCalibrationProcessor:
    ⋮
 - common.YAMLWriter:
      filename: tth_calibration_result.yaml
      force_overwrite: true

Should be modified to:

    ⋮
  - common.reader.YAMLReader:
      filename: energy_calibration_result.yaml
      schema: edd.models.MCAEnergyCalibrationConfig
 - edd.processor.MCATthCalibrationProcessor:
    ⋮
 - common.writer.YAMLWriter:
      filename: tth_calibration_result.yaml
      force_overwrite: true

Note that for now the code will stay backward compatible with the old style pipeline.yaml files. However, it may become deprecated at a future time, so it is strongly suggested to update pipeline.yaml files to the new style going forward.

Pull request log

Full Changelog: v2026.04.24...v2026.04.28