mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-31 09:14:11 -05:00
Replace the rips.taskmaestro_helper introspect subcommand with `python -m taskmaestro workflow describe --json`. RimWorkflowDescribeTools converts the describe output (JSON schemas, depends_on, config_values) into the workflow graph used by the Workflow UI. This also adds support for collect dependencies and maps rips.Reservoir to EclipseCase pickers.
13 lines
479 B
Python
13 lines
479 B
Python
"""ResInsight object references in taskmaestro input files.
|
|
|
|
The Workflow UI writes a `{__resinsight_ref__: <type>, ...id...}` map into
|
|
input.yaml for fields that refer to a ResInsight object. `run` resolves these
|
|
maps back to live `rips` objects. The C++ side maps Python types to the
|
|
`<type>` labels in RimWorkflowDescribeTools.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
# Marker used inside input.yaml to denote a ResInsight object reference.
|
|
REF_MARKER = "__resinsight_ref__"
|