Skip to content

Commit

Permalink
Set cache_ok flag to true for UUIDList (#17232)
Browse files Browse the repository at this point in the history
  • Loading branch information
cicdw authored Feb 21, 2025
1 parent ba6d917 commit 29748d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prefect/server/database/query_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29748d5

Please sign in to comment.