We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af4540e commit 0178d41Copy full SHA for 0178d41
backend/metadata_writer/src/metadata_helpers.py
@@ -12,10 +12,10 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
+import functools
16
import json
17
import os
18
import sys
-import ml_metadata
19
from time import sleep
20
from ml_metadata.proto import metadata_store_pb2
21
from ml_metadata.metadata_store import metadata_store
@@ -169,7 +169,6 @@ def create_context_with_type(
169
return context
170
171
172
-import functools
173
@functools.lru_cache(maxsize=128)
174
def get_context_by_name(
175
store,
0 commit comments