mirror of
https://github.com/clearml/clearml
synced 2025-05-28 09:08:06 +00:00
Fix KeyError
when running remotely and no params were passed to click (https://github.com/allegroai/clearml-agent/issues/111)
This commit is contained in:
parent
e3547cd897
commit
b24ed1937c
@ -148,6 +148,8 @@ class PatchClick:
|
||||
}
|
||||
|
||||
params = PatchClick.__remote_task_params
|
||||
if not params:
|
||||
return None
|
||||
command = [
|
||||
p.name for p in params['Args'].values()
|
||||
if p.type == PatchClick._command_type and cast_str_to_bool(p.value, strip=True)]
|
||||
|
@ -20,4 +20,3 @@ def get_filename_max_length(dir_path):
|
||||
print(err)
|
||||
|
||||
return 255 # Common filesystems like NTFS, EXT4 and HFS+ limited with 255
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user