flush Method
Flushes the parser and checks its end state.
Syntax
def flush() -> None: ...
Remarks
When on_flush is called, the parser flushes all its buffers, firing events as necessary, and then checks its end state.
Any extra un-parsed data will be populated in the extra_data property after this method is called.