From 29748d53589713bef5b70a64ace43c966872a0a0 Mon Sep 17 00:00:00 2001 From: Chris White Date: Fri, 21 Feb 2025 09:33:05 -0800 Subject: [PATCH] Set `cache_ok` flag to true for UUIDList (#17232) --- src/prefect/server/database/query_components.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/prefect/server/database/query_components.py b/src/prefect/server/database/query_components.py index 965db0f62071..6c092949bcef 100644 --- a/src/prefect/server/database/query_components.py +++ b/src/prefect/server/database/query_components.py @@ -923,6 +923,7 @@ class UUIDList(sa.TypeDecorator[list[UUID]]): """Map a JSON list of strings back to a list of UUIDs at the result loading stage""" impl: Union[TypeEngine[Any], type[TypeEngine[Any]]] = sa.JSON() + cache_ok: Optional[bool] = True def process_result_value( self, value: Optional[list[Union[str, UUID]]], dialect: sa.Dialect