Exemple #1
0
 def get(tag_id: int) -> Tag:
     return BaseService.get(Tag, tag_id)
Exemple #2
0
 def get(product_id: int) -> Product:
     return BaseService.get(Product, product_id)
 def get(recipe_comment_id: int) -> RecipeComment:
     return BaseService.get(RecipeComment, recipe_comment_id)
Exemple #4
0
 def get(recipe_step_id: int) -> RecipeStep:
     BaseService.is_object_exist(RecipeStep, recipe_step_id)
     return BaseService.get(RecipeStep, recipe_step_id)
Exemple #5
0
 def get(recipe_rating_id: int) -> RecipeRating:
     return BaseService.get(RecipeRating, recipe_rating_id)
Exemple #6
0
 def get(ingredient_id: int) -> Ingredient:
     return BaseService.get(Ingredient, ingredient_id)
Exemple #7
0
 def get(recipe_id: int) -> Recipe:
     return BaseService.get(Recipe, recipe_id)