瀏覽代碼

Added ingredient key to storage.py

Vsevolod Levitan 1 年之前
父節點
當前提交
41dbbf37bb
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      src/storage/storage.py

+ 10 - 1
src/storage/storage.py

@@ -41,7 +41,6 @@ class storage:
         return "group"
       
       
-
     @staticmethod  
     def measurement_unit_key():
         """
@@ -52,6 +51,16 @@ class storage:
         return "unit"
     
 
+    @staticmethod
+    def ingredient_key():
+        """
+            Список ингредиентов
+        Returns:
+            _type_: _description_
+        """
+        return "ingredient"
+    
+
     @staticmethod
     def recipe_key():
         """