We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50b1308 commit 6b3bb9aCopy full SHA for 6b3bb9a
1 file changed
python/lib/sift_py/rule/service.py
@@ -1,7 +1,12 @@
1
from __future__ import annotations
2
3
from dataclasses import dataclass
4
-from functools import cache
+
5
+try:
6
+ from functools import cache
7
+except ImportError:
8
+ from functools import lru_cache as cache
9
10
from pathlib import Path
11
from typing import Any, Dict, List, Optional, Tuple, Union, cast
12
0 commit comments