[lvgl] Fix ImageValidator.process signature to match base (#17451)

This commit is contained in:
Jonathan Swoboda
2026-07-08 15:21:23 -04:00
committed by GitHub
parent 84f4fbeaa8
commit 26f48ee9ea
+5 -2
View File
@@ -398,7 +398,10 @@ class ImageValidator(LValidator):
)
async def process(
self, value: Any, args: list[tuple[SafeExpType, str]] | None = None
self,
value: Any,
args: list[tuple[SafeExpType, str]] | None = None,
raw_lambda: bool = False,
) -> Expression:
# Local import to avoid circular import at module level
from .lvcode import get_lambda_context_args
@@ -419,7 +422,7 @@ class ImageValidator(LValidator):
index = await metadata.from_.convert_value(index)
return mapping_var.get(index)
return await super().process(value, args)
return await super().process(value, args, raw_lambda)
lv_image = ImageValidator()