Skip to content

Commit 1aac73d

Browse files
committed
Removes LRU cache for getting config method
1 parent 097a0ec commit 1aac73d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ads/aqua/common/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import shutil
1515
import subprocess
1616
from datetime import datetime, timedelta
17-
from functools import lru_cache, wraps
17+
from functools import wraps
1818
from pathlib import Path
1919
from string import Template
2020
from typing import Any, Dict, List, Optional, Union
@@ -997,7 +997,6 @@ def get_container_params_type(container_type_name: str) -> str:
997997
return UNKNOWN
998998

999999

1000-
@lru_cache(maxsize=None)
10011000
def get_container_env_type(container_type_name: Optional[str]) -> str:
10021001
"""
10031002
Determine the container environment type based on the container type name.

0 commit comments

Comments
 (0)