def get_parameters(self):
import argparse<EOL>parser = argparse.ArgumentParser(add_help=False)<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT:store_true>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT:store_true>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT:store_true>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store_true>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store_true>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT:store_true>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store_true>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store_true>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT:name>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT:user>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>", type=int)<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>", type=int)<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>", type=int)<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store>", dest="<STR_LIT>", type=int)<EOL>parser.add_argument("<STR_LIT>", action="<STR_LIT:store_true>", dest="<STR_LIT>")<EOL>args, _ = parser.parse_known_args(args=self.options)<EOL>command = self.arguments<EOL>options_dict = vars(args)<EOL>if not options_dict.pop("<STR_LIT>", None):<EOL><INDENT>options_dict["<STR_LIT>"] = Healthcheck(<EOL>test=options_dict.pop("<STR_LIT>", None),<EOL>interval=options_dict.pop("<STR_LIT>", None),<EOL>timeout=options_dict.pop("<STR_LIT>", None),<EOL>retries=options_dict.pop("<STR_LIT>", None)<EOL>)<EOL><DEDENT>else:<EOL><INDENT>options_dict['<STR_LIT>'] = None<EOL><DEDENT>with_dictionary_parameter = {'<STR_LIT>': '<STR_LIT:=>'}<EOL>for name, separator in with_dictionary_parameter.items():<EOL><INDENT>if options_dict[name] is not None:<EOL><INDENT>dictionary = {}<EOL>for item in options_dict[name]:<EOL><INDENT>try:<EOL><INDENT>key, value = item.split(separator)<EOL>dictionary[key] = value<EOL><DEDENT>except ValueError:<EOL><INDENT>dictionary = options_dict[name]<EOL>raise ConuException('<STR_LIT>'.format(name=name))<EOL>break<EOL><DEDENT><DEDENT>options_dict[name] = dictionary<EOL><DEDENT><DEDENT>if options_dict['<STR_LIT>'] is not None:<EOL><INDENT>dictionary = {}<EOL>for port_string in options_dict['<STR_LIT>']:<EOL><INDENT>colon_count = port_string.count('<STR_LIT::>')<EOL>if colon_count == <NUM_LIT:2>:<EOL><INDENT>split_array = port_string.split('<STR_LIT::>')<EOL>if split_array[<NUM_LIT:1>] == '<STR_LIT>':<EOL><INDENT>dictionary[split_array[<NUM_LIT:2>]] = (split_array[<NUM_LIT:0>], None)<EOL><DEDENT>else:<EOL><INDENT>dictionary[split_array[<NUM_LIT:2>]] = (split_array[<NUM_LIT:0>], int(split_array[<NUM_LIT:1>]))<EOL><DEDENT><DEDENT>elif colon_count == <NUM_LIT:1>:<EOL><INDENT>split_array = port_string.split('<STR_LIT::>')<EOL>dictionary[split_array[<NUM_LIT:1>]] = int(split_array[<NUM_LIT:0>])<EOL><DEDENT>elif colon_count == <NUM_LIT:0>:<EOL><INDENT>dictionary[port_string] = None<EOL><DEDENT>else:<EOL><INDENT>raise ConuException('<STR_LIT>')<EOL><DEDENT><DEDENT>options_dict['<STR_LIT>'] = dictionary<EOL><DEDENT>container_parameters = DockerContainerParameters(cap_add=options_dict['<STR_LIT>'],<EOL>cap_drop=options_dict['<STR_LIT>'],<EOL>command=command, detach=options_dict['<STR_LIT>'],<EOL>devices=options_dict['<STR_LIT>'], dns=options_dict['<STR_LIT>'],<EOL>entrypoint=options_dict['<STR_LIT>'],<EOL>env_variables=options_dict['<STR_LIT>'],<EOL>group_add=options_dict['<STR_LIT>'],<EOL>healthcheck=options_dict['<STR_LIT>'],<EOL>hostname=options_dict['<STR_LIT>'],<EOL>init=options_dict['<STR_LIT>'],<EOL>ipc_mode=options_dict['<STR_LIT>'],<EOL>isolation=options_dict['<STR_LIT>'],<EOL>labels=options_dict['<STR_LIT>'],<EOL>mac_address=options_dict['<STR_LIT>'],<EOL>mem_limit=options_dict['<STR_LIT>'],<EOL>mounts=options_dict['<STR_LIT>'],<EOL>name=options_dict['<STR_LIT:name>'],<EOL>network=options_dict['<STR_LIT>'],<EOL>pids_limit=options_dict['<STR_LIT>'],<EOL>platform=options_dict['<STR_LIT>'],<EOL>port_mappings=options_dict['<STR_LIT>'],<EOL>privileged=options_dict['<STR_LIT>'],<EOL>publish_all_ports=options_dict['<STR_LIT>'],<EOL>read_only=options_dict['<STR_LIT>'],<EOL>remove=options_dict['<STR_LIT>'],<EOL>runtime=options_dict['<STR_LIT>'],<EOL>stdin_open=options_dict['<STR_LIT>'],<EOL>stop_signal=options_dict['<STR_LIT>'],<EOL>tty=options_dict['<STR_LIT>'],<EOL>user=options_dict['<STR_LIT:user>'],<EOL>volumes=options_dict['<STR_LIT>'],<EOL>working_dir=options_dict['<STR_LIT>']<EOL>)<EOL>return container_parameters<EOL>
Parse DockerRunBuilder options and create object with properties for docker-py run command
:return: DockerContainerParameters