def hosts_args(self):
host_args = []<EOL>for row in self.hosts:<EOL><INDENT>if isinstance(row, dict):<EOL><INDENT>host_args.append(row["<STR_LIT:host>"])<EOL><DEDENT>else:<EOL><INDENT>host_args.append(row)<EOL><DEDENT><DEDENT>dedupe = list()<EOL>for each in host_args:<EOL><INDENT>if each not in dedupe:<EOL><INDENT>dedupe.append(each)<EOL><DEDENT><DEDENT>return dedupe<EOL>
hosts list can contain strings specifying a host directly
or dicts containing a "host" key to specify the host

this way we can allow passing further config details (color, name etc.)
with each host as well as simply dropping in addresses for quick
setup depending on the user's needs