Ver código fonte

Added ingredient key to storage.py

Vsevolod Levitan 1 ano atrás
pai
commit
41dbbf37bb
1 arquivos alterados com 10 adições e 1 exclusões
  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():
         """