Open andre-merzky opened 2 years ago
In RP 1.18, Tasks (raptor tasks, at least) with multiple MPI ranks return a list
for stdout. According to this issue, the type of the stdout
field will be normalized to str
in a future release.
So instead of analyzing the task to infer the field type, it is probably best for clients to account for a type of Union[str, list[str]]
until we are able to assert that it is str
, for some future RP version. (Future behavior will be to concatenate the various stdouts together, right? So clients can preemptively ''.join(stdout)
, I suppose.)
we can expose
task.stdout_per_rank
additionally