ogdc_runner.partition_manifests module¶
- ogdc_runner.partition_manifests.make_partition_manifest_writer_template(*, name: str, recipe_id: str, manifest_subdir: str, partitions: Sequence[dict[str, Any]], workflow_volume_name: str, image: str | None = None) hera.workflows.Container¶
Create a setup template that writes partition manifests to the PVC.
The output parameter intentionally contains only partition IDs. Full file lists remain on the workflow PVC after workflow completion for provenance.
- ogdc_runner.partition_manifests.manifest_inputs(manifest_param: str, manifest_path_param: str) list[hera.workflows.Parameter]¶
Return compatible inline/path manifest inputs for worker templates.
Existing URL/DataONE flows can still pass inline JSON, while scalable PVC flows pass a small path parameter pointing at a manifest stored on the workflow PVC.
- ogdc_runner.partition_manifests.partition_manifest_inputs() list[hera.workflows.Parameter]¶
- Return type:
list[Parameter]
- ogdc_runner.partition_manifests.partition_manifest_path(recipe_id: str, partition_id: int | str, *parts: str) str¶
Return a concrete partition manifest path on the workflow PVC.
- ogdc_runner.partition_manifests.partition_manifest_path_arg(recipe_id: str, *parts: str) str¶
Return a partition manifest path containing Argo’s item partition ID.