Skip to content

Commit ac5e8d6

Browse files
authored
bugfix in dp_cloud_server_context.py (#151)
1 parent 8bc0a89 commit ac5e8d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpdispatcher/dp_cloud_server_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,13 @@ def machine_subfields(cls) -> List[Argument]:
201201
Argument("scass_type", str, optional=False, doc="machine configuration."),
202202
Argument("platform", str, optional=False, doc="Job run in which platform."),
203203
Argument("log_file", str, optional=True, doc="location of log file."),
204-
Argument('checkpoint_files', [str, List[str]], optional=True, doc="location of checkpoint files when "
204+
Argument('checkpoint_files', [str, list], optional=True, doc="location of checkpoint files when "
205205
"it is list type. record file "
206206
"changes when it is string value "
207207
"'sync_files'"),
208208
Argument('checkpoint_time', int, optional=True, default=15, doc='interval of checkpoint data been '
209209
'stored minimum 15.'),
210-
Argument('backward_files', List[str], optional=True, doc='which files to be uploaded to remote '
210+
Argument('backward_files', list, optional=True, doc='which files to be uploaded to remote '
211211
'resources. Upload all the files when it is '
212212
'None or empty.')
213213
], optional=False, doc="Configuration of job"),

0 commit comments

Comments
 (0)