Skip to content

Commit

Permalink
fix: clarify task runner for cache example
Browse files Browse the repository at this point in the history
  • Loading branch information
wrussell1999 authored Nov 5, 2024
1 parent d67e0cf commit ecf21aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ In either of these Kestra server installations, you will need to run the Python

## Using cache files

In a WorkingDirectory task, you can have the virtual environment setup, install all the pip package dependencies, and cache the `venv` folder. The pip package dependencies will then be cached as part of the virtual environment folder, and you need not install it on every execution of the flow. This is explained in detail in the [caching](../05.concepts/12.caching.md) page.
In a `WorkingDirectory` task, you can have the virtual environment setup with the [Process Task Runner](../task-runners/04.types/01.process-task-runner.md), install all the pip package dependencies, and cache the `venv` folder. The pip package dependencies will then be cached as part of the virtual environment folder, and you need not install it on every execution of the flow. This is explained in detail in the [caching](../05.concepts/12.caching.md) page.

Here is a sample flow demonstrating how the `venv` folder can be cached:

Expand Down

0 comments on commit ecf21aa

Please sign in to comment.