Anton L.
03/07/2025, 10:56 AMMarvin
03/07/2025, 10:56 AMPREFECT_RESULTS_PERSIST_BY_DEFAULT
and PREFECT_TASKS_DEFAULT_PERSIST_RESULT
settings are set to False
. This will prevent any results from being stored.
2. Disabling Caching: To disable caching, you can avoid setting cache keys or use a custom cache key function that always returns a unique value, thus preventing cache hits.
For more detailed information, you can refer to the Prefect documentation on results persistence and task caching.
If you need to configure this programmatically, you can define your tasks and flows without specifying any caching or persistence configurations, relying on the default behavior that avoids persistence and caching.
If you have any specific scenarios or configurations in mind, feel free to ask!Anton L.
03/07/2025, 10:57 AM