Переглянути джерело

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