@@ -251,25 +251,7 @@ def machine_subfields(cls) -> List[Argument]:
251251 Argument ("email" , str , optional = False , doc = "Email" ),
252252 Argument ("password" , str , optional = False , doc = "Password" ),
253253 Argument ("program_id" , int , optional = False , doc = "Program ID" ),
254- Argument ("input_data" , dict , [
255- Argument ("job_name" , str , optional = True , doc = "Job name" ),
256- Argument ("image_name" , str , optional = True , doc = "Name of the image which run the job, optional "
257- "when platform is not ali/oss." ),
258- Argument ("disk_size" , str , optional = True , doc = "disk size (GB), optional "
259- "when platform is not ali/oss." ),
260- Argument ("scass_type" , str , optional = False , doc = "machine configuration." ),
261- Argument ("platform" , str , optional = False , doc = "Job run in which platform." ),
262- Argument ("log_file" , str , optional = True , doc = "location of log file." ),
263- Argument ('checkpoint_files' , [str , list ], optional = True , doc = "location of checkpoint files when "
264- "it is list type. record file "
265- "changes when it is string value "
266- "'sync_files'" ),
267- Argument ('checkpoint_time' , int , optional = True , default = 15 , doc = 'interval of checkpoint data been '
268- 'stored minimum 15.' ),
269- Argument ('backward_files' , list , optional = True , doc = 'which files to be uploaded to remote '
270- 'resources. Upload all the files when it is '
271- 'None or empty.' )
272- ], optional = False , doc = "Configuration of job" ),
254+ Argument ("input_data" , dict , optional = False , doc = "Configuration of job" ),
273255 ], doc = doc_remote_profile )]
274256
275257
0 commit comments