Добавление функции get_all() для класса reag__
@ -28,4 +28,4 @@ def load_recipe(yml = parse_yml()):
for id, value in element["products"].items():
out = value
recipes[product] = reag__(category=category, comps=comps, out=out)
return recipes
@ -8,3 +8,4 @@ class reag__:
self.out = out
def get_all(self):
return [self.category, self.comps, self.out]