def _format_args():
<EOL>try:<EOL><INDENT>pretty_format =current_app.config['<STR_LIT>'] andnot request.is_xhr<EOL><DEDENT>except RuntimeError:<EOL><INDENT>pretty_format = False<EOL><DEDENT>if pretty_format:<EOL><INDENT>return dict(<EOL>indent=<NUM_LIT:2>,<EOL>separators=('<STR_LIT:U+002CU+0020>', '<STR_LIT>'),<EOL>)<EOL><DEDENT>else:<EOL><INDENT>return dict(<EOL>indent=None,<EOL>separators=('<STR_LIT:U+002C>', '<STR_LIT::>'),<EOL>)<EOL><DEDENT>
Get JSON dump indentation and separates.