mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-06 05:55:23 +02:00
Fix/multiple bug fixes (#1015)
* test-case for #1011 * revert regressions for #1011 * update cache key on new image * lint * fix #1012 * typing * random_recipe fixture * remove delete button when no listeners are present * spacing * update copy to match settings value
This commit is contained in:
parent
6a5fd8e4f8
commit
568a1a0015
11 changed files with 112 additions and 18 deletions
|
@ -2,7 +2,7 @@ from typing import Optional
|
|||
from uuid import UUID, uuid4
|
||||
|
||||
from fastapi_camelcase import CamelModel
|
||||
from pydantic import Field
|
||||
from pydantic import UUID4, Field
|
||||
|
||||
|
||||
class IngredientReferences(CamelModel):
|
||||
|
@ -10,7 +10,7 @@ class IngredientReferences(CamelModel):
|
|||
A list of ingredient references.
|
||||
"""
|
||||
|
||||
reference_id: UUID = None
|
||||
reference_id: Optional[UUID4]
|
||||
|
||||
class Config:
|
||||
orm_mode = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue