From 04cd10f07e65a025f09297a00ef7e78b8f411273 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Fri, 31 Jan 2025 15:35:25 -0600 Subject: [PATCH] update docstring --- src/prefect/cache_policies.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/prefect/cache_policies.py b/src/prefect/cache_policies.py index 61dfc4f91219..7266d1c6dfb9 100644 --- a/src/prefect/cache_policies.py +++ b/src/prefect/cache_policies.py @@ -252,6 +252,8 @@ def __add__(self, other: "CachePolicy") -> "CachePolicy": class TaskSource(CachePolicy): """ Policy for computing a cache key based on the source code of the task. + + This policy only considers raw lines of code in the task, and not the source code of nested tasks. """ def compute_key(