mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-28 05:05:12 -05:00
14 lines
348 B
Python
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)
|