chore: update ui service manager of new service
This commit is contained in:
@@ -3,7 +3,7 @@ import xml.etree.ElementTree as ET
|
||||
from typing import ClassVar
|
||||
|
||||
import yaml
|
||||
from pydantic import BaseModel, field_validator
|
||||
from pydantic import BaseModel, ConfigDict, field_validator
|
||||
|
||||
from core.enums import ServiceStatus
|
||||
from core.utils import get_git_root
|
||||
@@ -134,6 +134,7 @@ class IocsOverview(BaseModel):
|
||||
|
||||
# TODO: maybe separate models into their own files
|
||||
class ServiceManagerUI(BaseModel):
|
||||
model_config = ConfigDict(arbitrary_types_allowed=True)
|
||||
config_path: ClassVar[str] = str(SERVICE_MANAGER_UI_FILENAME)
|
||||
|
||||
tree: ET.ElementTree[ET.Element[str]]
|
||||
|
||||
Reference in New Issue
Block a user