소스 검색

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():
         """