Skip to content

Commit 0178d41

Browse files
authored
chore(backend): fixed imports on metadata_helpers.py (kubeflow#11604)
Signed-off-by: Daniel Dowler <[email protected]>
1 parent af4540e commit 0178d41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/metadata_writer/src/metadata_helpers.py

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

15+
import functools
1516
import json
1617
import os
1718
import sys
18-
import ml_metadata
1919
from time import sleep
2020
from ml_metadata.proto import metadata_store_pb2
2121
from ml_metadata.metadata_store import metadata_store
@@ -169,7 +169,6 @@ def create_context_with_type(
169169
return context
170170

171171

172-
import functools
173172
@functools.lru_cache(maxsize=128)
174173
def get_context_by_name(
175174
store,

0 commit comments

Comments
 (0)