mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Fix types in strings list
This commit is contained in:
parent
79e6cb7b28
commit
79185487a8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user