update docs for release 0.8.0 (#1419)

### What problem does this PR solve?

update docs for release 0.8.0

### Type of change

- [x] Documentation Update

---------

Co-authored-by: writinwaters <93570324+writinwaters@users.noreply.github.com>
This commit is contained in:
KevinHuSh
2024-07-08 17:06:33 +08:00
committed by GitHub
parent fce3f6df8e
commit 593c20889d
9 changed files with 36 additions and 29 deletions

View File

@ -72,7 +72,10 @@ class Generate(ComponentBase):
for para in self._param.parameters:
cpn = self._canvas.get_component(para["component_id"])["obj"]
_, out = cpn.output(allow_partial=False)
kwargs[para["key"]] = "\n - ".join(out["content"])
if "content" not in out.columns:
kwargs[para["key"]] = "Nothing"
else:
kwargs[para["key"]] = "\n - ".join(out["content"])
kwargs["input"] = input
for n, v in kwargs.items():