Add unavailable packages node

This commit is contained in:
Waylon Walker 2021-06-11 07:49:42 -05:00
parent 26a25aef4a
commit 101dc653f3

View file

@ -71,6 +71,12 @@ pipeline = Pipeline(
outputs="available",
name="available",
),
node(
lambda words, packages: list(set(words) & set(packages)),
inputs=["words", "packages"],
outputs="unavailable",
name="unavailable",
),
node(
lambda x: x,
inputs="packages",