mirror of
https://github.com/johndoe6345789/AutoMetabuilder.git
synced 2026-04-30 08:45:00 +00:00
11 lines
291 B
Python
11 lines
291 B
Python
"""Workflow plugin: concatenate strings."""
|
|
|
|
|
|
def run(_runtime, inputs):
|
|
"""Concatenate multiple strings."""
|
|
strings = inputs.get("strings", [])
|
|
separator = inputs.get("separator", "")
|
|
|
|
str_list = [str(s) for s in strings]
|
|
return {"result": separator.join(str_list)}
|