@staticmethod<EOL><INDENT>def parse(config):<DEDENT>
if not isinstance(config, basestring):<EOL><INDENT>raise TypeError("<STR_LIT>")<EOL><DEDENT>validator = ContainsValidator()<EOL>validator.contains_string = config<EOL>return validator<EOL>
Parse a contains validator, which takes as the config a simple string to find