mirror of
https://github.com/johndoe6345789/AutoMetabuilder.git
synced 2026-04-30 00:34:58 +00:00
9 lines
182 B
Python
9 lines
182 B
Python
"""Workflow plugin: subtract numbers."""
|
|
|
|
|
|
def run(_runtime, inputs):
|
|
"""Subtract b from a."""
|
|
a = inputs.get("a", 0)
|
|
b = inputs.get("b", 0)
|
|
return {"result": a - b}
|