Serve documentation from the operator UI

This commit is contained in:
Emil
2026-08-02 15:50:07 +03:00
parent 284aef5d6f
commit f20cc7fe00
72 changed files with 3509 additions and 698 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ from __future__ import annotations
import json
import math
import re
from enum import Enum
from types import MappingProxyType
from typing import Any, Mapping
from urllib.parse import unquote
@@ -372,7 +373,7 @@ def version_in_range(version: object, expression: str) -> bool:
return True
def enum_value(enum_type: type[Any], value: object, field: str) -> Any:
def enum_value(enum_type: type[Enum], value: object, field: str) -> Any:
try:
return enum_type(value)
except (TypeError, ValueError) as error: