Modules
Modules are simillar to actions, but have the following differences:
  • Only local files (ws: scheme) are supported. Modules located on GitHub are forbidden.
  • Module content has access to global workflow defaults. The default env/volumes/preset is inherited and expressions can access top-level contexts such as flow.
Calling a module is similar to calling an action, except the module property is used instead of the action property.

Live module call

1
jobs:
2
test:
3
module: ws:live-module
4
args:
5
arg1: val 1
Copied!

Batch module call

1
tasks:
2
- id: test
3
module: ws:batch-module
4
args:
5
arg1: val 1
6
``` ([#464](https://github.com/neuro-inc/neuro-flow/issues/464))
Copied!
Last modified 1mo ago