Clean remove four letter things
This commit is contained in:
parent
127cd92f46
commit
26a25aef4a
1 changed files with 0 additions and 12 deletions
12
pypi-list.py
12
pypi-list.py
|
|
@ -59,24 +59,12 @@ pipeline = Pipeline(
|
|||
outputs="packages",
|
||||
name="packages",
|
||||
),
|
||||
node(
|
||||
lambda packages: [package for package in packages if len(package) == 4],
|
||||
inputs="packages",
|
||||
outputs="four_letter_packages",
|
||||
name="four_letter_packages",
|
||||
),
|
||||
node(
|
||||
lambda words: words.split(),
|
||||
inputs="raw_words_alpha",
|
||||
outputs="words",
|
||||
name="words",
|
||||
),
|
||||
node(
|
||||
lambda words: [word for word in words if len(word) == 4],
|
||||
inputs="words",
|
||||
outputs="four_letter_words",
|
||||
name="four_letter_words",
|
||||
),
|
||||
node(
|
||||
lambda words, packages: list(set(words) - set(packages)),
|
||||
inputs=["words", "packages"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue