def __init__(self, parsers: Union[Iterable[AnyParser], Dict[Type, Iterable[AnyParser]]] = None):
<EOL>self.configured = False<EOL>self._parsers_list = []<EOL>if parsers is not None:<EOL><INDENT>check_var(parsers, var_types=Iterable, var_name='<STR_LIT>')<EOL>if isinstance(parsers, Mapping):<EOL><INDENT>for typ, parser in parsers.items():<EOL><INDENT>self.add_parser_to_cascade(parser, typ)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>for parser in parsers:<EOL><INDENT>self.add_parser_to_cascade(parser)<EOL><DEDENT><DEDENT><DEDENT>
Constructor from an initial list of parsers
:param parsers: