NCATSTranslator / workflow-runner

1 stars 1 forks source link

Implement Fan Out and Merging #12

Closed kennethmorton closed 2 years ago

kennethmorton commented 2 years ago

Currently we only chose the a single operation runner. When multiple operation runners are available we should call each and merge the resulting messages.

kennethmorton commented 2 years ago

Calling multiple operation runners for each operation will necessitate merging of the resulting messages. We intend to implement this leveraging upcoming features of reasoner-pydantic - see this PR.

kennethmorton commented 2 years ago

You do not need to call multiple services for non-unique actions. Check https://standards.ncats.io/operation/1.0.1/schema to determine which actions should be duplicated.