Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion task-sdk/src/airflow/sdk/execution_time/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import multiprocessing

from airflow.sdk import timezone
from airflow.sdk.configuration import conf


class SecretCache:
Expand Down Expand Up @@ -55,6 +54,8 @@ def init(cls):
"""
if cls._cache is not None:
return
from airflow.sdk.configuration import conf

use_cache = conf.getboolean(section="secrets", key="use_cache", fallback=False)
if not use_cache:
return
Expand Down