def parse_comparison_operation(operation: str) -> Tuple[Optional[str], str]:
_operation = operation.strip()<EOL>if not _operation:<EOL><INDENT>raise QueryParserException('<STR_LIT>'.format(operation))<EOL><DEDENT>if _operation[:<NUM_LIT:2>] in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>return '<STR_LIT>', _operation[<NUM_LIT:2>:].strip()<EOL><DEDENT>if _operation[:<NUM_LIT:2>] in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>return '<STR_LIT>', _operation[<NUM_LIT:2>:].strip()<EOL><DEDENT>if _operation[:<NUM_LIT:1>] in ('<STR_LIT:>>', '<STR_LIT:<>'):<EOL><INDENT>return _operation[:<NUM_LIT:1>], _operation[<NUM_LIT:1>:].strip()<EOL><DEDENT>return None, _operation<EOL>
Parse the comparision operator in an operation.