Skip to content

Commit

Permalink
better typing
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Jul 22, 2024
1 parent cbc661a commit e7d8691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefect/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _infer_parent_task_runs(
return parents


def _generate_task_key(fn: Callable) -> str:
def _generate_task_key(fn: Callable[..., Any]) -> str:
"""Generate a task key based on the function name and source code.
We may eventually want some sort of top-level namespace here to
Expand Down

0 comments on commit e7d8691

Please sign in to comment.