mirror of
https://github.com/clearml/clearml-server
synced 2025-02-07 13:33:42 +00:00
Fix open ranges
This commit is contained in:
parent
1a3d3494ce
commit
9f0c9c3690
@ -221,8 +221,8 @@ class GetMixin(PropsMixin):
|
||||
if isinstance(value, str):
|
||||
return convert_str(value)
|
||||
|
||||
if isinstance(value, (list, tuple)) and all(isinstance(v, str) for v in value):
|
||||
return [convert_str(v) for v in value]
|
||||
if isinstance(value, (list, tuple)):
|
||||
return [convert_str(v) if isinstance(v, str) else v for v in value]
|
||||
|
||||
return value
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user