Pārlūkot izejas kodu

Added ingredient key to storage.py

Vsevolod Levitan 1 gadu atpakaļ
vecāks
revīzija
41dbbf37bb
1 mainītis faili ar 10 papildinājumiem un 1 dzēšanām
  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():
         """