From 79185487a887f3eb1e737897fd28120dc2c24e60 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Fri, 23 Dec 2022 22:21:23 +0200 Subject: [PATCH] Fix types in strings list --- clearml/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clearml/model.py b/clearml/model.py index 858f3fb2..78bafe39 100644 --- a/clearml/model.py +++ b/clearml/model.py @@ -467,7 +467,7 @@ class BaseModel(object): "key": str(key), "value": str(value), "type": str(v_type) - if v_type in (float, int, bool, six.string_types, list, tuple, dict) else + if str(v_type) in ('float', 'int', 'bool', 'str', 'basestring', 'list', 'tuple', 'dict') else str(None) }], model=self.id,