Module Expr Str ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotIn NameLoad ListLoad NameLoad Str Str Str body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotIn NameLoad ListLoad NameLoad Str Str Str body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotIn NameLoad ListLoad NameLoad Str Str Str body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotIn NameLoad ListLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotIn NameLoad ListLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareLtE NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotIn NameLoad ListLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad orelse If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotIn NameLoad ListLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad orelse If NameLoad body Assign SubscriptStore NameLoad Index Str Str orelse Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Num TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad Str If CompareLt NameLoad Num body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad Str If CompareLt NameLoad Num body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr If BoolOpOr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list
N/A N/A SQL formatter sqlparse3 filters sqlparse3.exceptions SQLParseError validate_options N/A N/A options N/A N/A N/A Validates options. N/A kwcase N/A N/A options get keyword_case None N/A N/A kwcase N/A None upper lower capitalize N/A N/A N/A SQLParseError N/A Invalid value for keyword_case: %r kwcase N/A idcase N/A N/A options get identifier_case None N/A N/A idcase N/A None upper lower capitalize N/A N/A N/A SQLParseError N/A Invalid value for identifier_case: %r idcase N/A ofrmt N/A N/A options get output_format None N/A N/A ofrmt N/A None sql python php N/A N/A N/A SQLParseError N/A Unknown output format: %r ofrmt N/A strip_comments N/A N/A options get strip_comments False N/A N/A strip_comments N/A True False N/A N/A N/A SQLParseError N/A Invalid value for strip_comments: %r strip_comments N/A strip_ws N/A N/A options get strip_whitespace False N/A N/A strip_ws N/A True False N/A N/A N/A SQLParseError N/A Invalid value for strip_whitespace: %r strip_ws N/A truncate_strings N/A N/A options get truncate_strings None N/A N/A truncate_strings None N/A N/A N/A N/A truncate_strings N/A int truncate_strings N/A N/A N/A N/A ValueError TypeError N/A N/A N/A SQLParseError N/A Invalid value for truncate_strings: %r truncate_strings N/A N/A truncate_strings 1 N/A N/A N/A SQLParseError N/A Invalid value for truncate_strings: %r truncate_strings N/A N/A options N/A truncate_strings truncate_strings N/A N/A options N/A truncate_char N/A N/A options get truncate_char [...] N/A reindent N/A N/A options get reindent False N/A N/A reindent N/A True False N/A N/A N/A SQLParseError N/A Invalid value for reindent: %r reindent N/A N/A reindent N/A N/A N/A options N/A strip_whitespace True N/A indent_tabs N/A N/A options get indent_tabs False N/A N/A indent_tabs N/A True False N/A N/A N/A SQLParseError N/A Invalid value for indent_tabs: %r indent_tabs N/A N/A indent_tabs N/A N/A N/A options N/A indent_char N/A N/A N/A options N/A indent_char N/A indent_width N/A N/A options get indent_width 2 N/A N/A N/A indent_width N/A int indent_width N/A N/A N/A N/A TypeError ValueError N/A N/A N/A SQLParseError indent_width requires an integer N/A N/A indent_width 1 N/A N/A N/A SQLParseError indent_width requires an positive integer N/A N/A options N/A indent_width indent_width N/A right_margin N/A N/A options get right_margin None N/A N/A right_margin None N/A N/A N/A N/A right_margin N/A int right_margin N/A N/A N/A N/A TypeError ValueError N/A N/A N/A SQLParseError right_margin requires an integer N/A N/A right_margin 10 N/A N/A N/A SQLParseError right_margin requires an integer > 10 N/A N/A options N/A right_margin right_margin N/A options N/A build_filter_stack N/A N/A stack options N/A N/A N/A Setup and return a filter stack.

    Args:
      stack: :class:`~sqlparse.filters.FilterStack` instance
      options: Dictionary with options validated by validate_options.
     N/A N/A N/A options get keyword_case None N/A N/A N/A N/A N/A stack preprocess append N/A N/A filters KeywordCaseFilter N/A options N/A keyword_case N/A N/A N/A options get identifier_case None N/A N/A N/A N/A N/A stack preprocess append N/A N/A filters IdentifierCaseFilter N/A options N/A identifier_case N/A N/A N/A N/A options get truncate_strings None None N/A N/A N/A N/A N/A stack preprocess append N/A N/A filters TruncateStringFilter width N/A options N/A truncate_strings char N/A options N/A truncate_char N/A N/A N/A options get strip_comments False N/A N/A N/A N/A stack enable_grouping N/A N/A N/A N/A stack stmtprocess append N/A N/A filters StripCommentsFilter N/A N/A N/A N/A options get strip_whitespace False N/A N/A options get reindent False N/A N/A N/A N/A stack enable_grouping N/A N/A N/A N/A stack stmtprocess append N/A N/A filters StripWhitespaceFilter N/A N/A N/A options get reindent False N/A N/A N/A N/A stack enable_grouping N/A N/A N/A N/A stack stmtprocess append N/A N/A filters ReindentFilter char N/A options N/A indent_char width N/A options N/A indent_width N/A N/A N/A options get right_margin False N/A N/A N/A N/A stack enable_grouping N/A N/A N/A N/A stack stmtprocess append N/A N/A filters RightMarginFilter width N/A options N/A right_margin N/A N/A N/A options get output_format N/A N/A frmt N/A options N/A output_format N/A N/A N/A N/A frmt lower php N/A N/A fltr N/A N/A filters OutputPHPFilter N/A N/A N/A N/A N/A frmt lower python N/A N/A fltr N/A N/A filters OutputPythonFilter N/A N/A fltr None N/A N/A fltr None N/A N/A N/A N/A N/A stack postprocess append fltr N/A stack N/A