def build_extra_args_dict(cl_args):
<EOL>component_parallelism = cl_args['<STR_LIT>']<EOL>runtime_configs = cl_args['<STR_LIT>']<EOL>container_number = cl_args['<STR_LIT>']<EOL>if (component_parallelism and runtime_configs) or (container_number and runtime_configs):<EOL><INDENT>raise Exception(<EOL>"<STR_LIT>" +<EOL>"<STR_LIT>")<EOL><DEDENT>dict_extra_args = {}<EOL>nothing_set = True<EOL>if component_parallelism:<EOL><INDENT>dict_extra_args.update({'<STR_LIT>': component_parallelism})<EOL>nothing_set = False<EOL><DEDENT>if container_number:<EOL><INDENT>dict_extra_args.update({'<STR_LIT>': container_number})<EOL>nothing_set = False<EOL><DEDENT>if runtime_configs:<EOL><INDENT>dict_extra_args.update({'<STR_LIT>': runtime_configs})<EOL>nothing_set = False<EOL><DEDENT>if nothing_set:<EOL><INDENT>raise Exception(<EOL>"<STR_LIT>")<EOL><DEDENT>if cl_args['<STR_LIT>']:<EOL><INDENT>dict_extra_args.update({'<STR_LIT>': True})<EOL>if '<STR_LIT>' in cl_args:<EOL><INDENT>dict_extra_args.update({'<STR_LIT>': cl_args["<STR_LIT>"]})<EOL><DEDENT><DEDENT>return dict_extra_args<EOL>
Build extra args map