Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Jan 31, 2025
1 parent c0390ff commit 04cd10f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/prefect/cache_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 04cd10f

Please # to comment.