Files
mealie/mealie/schema/recipe/recipe_settings.py
2025-07-31 17:36:24 +02:00

14 lines
348 B
Python

from pydantic import ConfigDict
from mealie.schema._mealie import MealieModel
class RecipeSettings(MealieModel):
public: bool = False
show_nutrition: bool = False
show_assets: bool = False
landscape_view: bool = False
disable_comments: bool = True
locked: bool = False
model_config = ConfigDict(from_attributes=True)