Files
AutoMetabuilder/backend/autometabuilder/workflow/plugins/math/math_subtract.py
2026-01-10 13:36:29 +00:00

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}