mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-26 17:53:12 -05:00
???
This commit is contained in:
@@ -132,9 +132,6 @@ class IngredientFood(CreateIngredientFood):
|
|||||||
except AttributeError:
|
except AttributeError:
|
||||||
return v
|
return v
|
||||||
|
|
||||||
def is_on_hand(self, household_slug: str) -> bool:
|
|
||||||
return household_slug in self.households_with_tool
|
|
||||||
|
|
||||||
|
|
||||||
class IngredientFoodPagination(PaginationBase):
|
class IngredientFoodPagination(PaginationBase):
|
||||||
items: list[IngredientFood]
|
items: list[IngredientFood]
|
||||||
|
|||||||
@@ -32,9 +32,6 @@ class RecipeToolOut(RecipeToolCreate):
|
|||||||
except AttributeError:
|
except AttributeError:
|
||||||
return v
|
return v
|
||||||
|
|
||||||
def is_on_hand(self, household_slug: str) -> bool:
|
|
||||||
return household_slug in self.households_with_tool
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def loader_options(cls) -> list[LoaderOption]:
|
def loader_options(cls) -> list[LoaderOption]:
|
||||||
return [
|
return [
|
||||||
|
|||||||
Reference in New Issue
Block a user