mirror of
https://github.com/johndoe6345789/AutoMetabuilder.git
synced 2026-04-30 00:34:58 +00:00
8 lines
176 B
Python
8 lines
176 B
Python
"""Workflow plugin: add numbers."""
|
|
|
|
|
|
def run(_runtime, inputs):
|
|
"""Add two or more numbers."""
|
|
numbers = inputs.get("numbers", [])
|
|
return {"result": sum(numbers)}
|