chore: refactor base schema (#1098)

* remove dead backup code

* implmenet own base model

* refactor to use MealieModel instead of CamelModel

* cleanup deps
This commit is contained in:
Hayden
2022-03-25 10:56:49 -08:00
committed by GitHub
parent bcd98cba2f
commit 11b4d2389a
50 changed files with 253 additions and 623 deletions

View File

@@ -1,10 +1,11 @@
from __future__ import annotations
from fastapi_camelcase import CamelModel
from pydantic import UUID4
from mealie.schema._mealie import MealieModel
class MultiPurposeLabelCreate(CamelModel):
class MultiPurposeLabelCreate(MealieModel):
name: str
color: str = "#E0E0E0"