black format
This commit is contained in:
parent
247fd37560
commit
238319b9e1
5 changed files with 23 additions and 4 deletions
|
@ -12,6 +12,7 @@ import comfyrecipes.parsing as parsing
|
|||
|
||||
T = TypeVar("T")
|
||||
|
||||
|
||||
class Builder:
|
||||
def __init__(self) -> None:
|
||||
self.jinjaenv = jinja2.Environment(
|
||||
|
@ -140,6 +141,7 @@ class Builder:
|
|||
for ing in rec.ingredients:
|
||||
results.append(ing.unit.name)
|
||||
return results
|
||||
|
||||
unitnamelists = self.foreach_recipe(collect_unitnames)
|
||||
unitnamesset: Set[str] = set()
|
||||
for unitnamelst in unitnamelists:
|
||||
|
@ -163,6 +165,7 @@ class Builder:
|
|||
for ing in rec.ingredients:
|
||||
results.append(ing.name)
|
||||
return results
|
||||
|
||||
ingredientnamelists = self.foreach_recipe(collect_ingnames)
|
||||
ingredientnamesset: Set[str] = set()
|
||||
for ingredientnamelst in ingredientnamelists:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue