Skip to content

Commit 85e5d6d

Browse files
authored
lru_cache -> cache
1 parent 67ff9b0 commit 85e5d6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opentelemetry-api/src/opentelemetry/util/_importlib_metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from functools import lru_cache
15+
from functools import cache
1616

1717
# FIXME: Use importlib.metadata (not importlib_metadata)
1818
# when support for 3.11 is dropped if the rest of
@@ -31,7 +31,7 @@
3131
)
3232

3333

34-
@lru_cache()
34+
@cache
3535
def _original_entry_points_cached():
3636
return original_entry_points()
3737

0 commit comments

Comments
 (0)