Module Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Assign NameStore Dict Str Str Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str Str Str Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr NameLoad Num Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Slice NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad body If Call NameLoad NameLoad Str NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore ListLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice NameLoad NameLoad body If NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd SubscriptLoad NameLoad Slice NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Str orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Str orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Str orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Str orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If BoolOpAnd NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Return TupleLoad Str TupleLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore BoolOpAnd NameLoad BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body TryFinally body Expr Call NameLoad AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad finalbody Expr Call NameLoad AttributeLoad NameLoad attr Str Return NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If BoolOpAnd CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Str If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Return TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call NameLoad NameLoad Index Num Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str If CompareNotEq NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num If CompareNotEq Call AttributeLoad NameLoad attr Str Num body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr keyword Call AttributeLoad Str attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore IfExp AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If BoolOpAnd CompareLt AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num UnaryOpNot AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore BinOpSub AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Return Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword NameLoad orelse Return Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Str attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse Assign NameStore Num Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num orelse Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num If CompareNotIn NameLoad NameLoad body AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore TupleLoad Num ListLoad Str Assign TupleStore NameStore NameStore TupleLoad Dict Num For NameStore NameLoad body If CompareEq NameLoad Str body AugAssignAdd NameStore Num AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad Str body AugAssignSub NameStore Num Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpMod NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Str Str SubscriptLoad NameLoad Index NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpAdd BinOpAdd Str NameLoad Str orelse AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str While Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Dict Str NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str AugAssignAdd NameStore Num Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Str Return BinOpAdd BinOpAdd Str NameLoad Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad BinOpAdd Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr For NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad Return TupleLoad Call AttributeLoad Str attr NameLoad BinOpAdd Call AttributeLoad Str attr NameLoad BinOpMod NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr Str NameLoad body If BoolOpAnd CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Return TupleLoad NameLoad ListLoad Return TupleLoad NameLoad ListLoad ListLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Str FunctionDef arguments args NameParam defaults vararg kwarg body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Return ListComp Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body If Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore CompareIn NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad BoolOpAnd NameLoad CompareEq Call NameLoad NameLoad Num UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore ListLoad orelse If NameLoad body Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword NameLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad BoolOpAnd AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore ListLoad BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign NameStore BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr If BoolOpAnd CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num UnaryOpNot NameLoad body Assign NameStore ListLoad BinOpMod Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareLt AttributeLoad AttributeLoad NameLoad attr attr Num body Return Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore ListLoad BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore IfExp NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad If NameLoad body Assign NameStore NameStore ListComp ListComp Call AttributeLoad NameLoad attr IfExp AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr comprehension NameStore NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore ListComp ListLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad ListLoad Assign NameStore ListLoad NameLoad Assign NameStore ListComp ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpMod Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num Return ListLoad TupleLoad Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad Assign NameStore ListComp TupleLoad Call AttributeLoad Str attr BinOpAdd NameLoad ListLoad BinOpMod Str Call AttributeLoad Str attr NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign NameStore BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad decorator_list decorator_list If BoolOpAnd CompareGtE SubscriptLoad NameLoad Index Num Num CompareGtE SubscriptLoad NameLoad Index Num Num body Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Str NameLoad Str NameLoad Str Raise Call NameLoad NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list orelse ClassDef bases AttributeLoad NameLoad attr NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Pass decorator_list
N/A N/A re django.db.models.sql compiler N/A django datetime datetime django VERSION DjangoVersion django_pyodbc.compat zip_longest N/A REV_ODIR N/A ASC DESC DESC ASC N/A SQL_SERVER_8_LIMIT_QUERY SELECT *
FROM (
  SELECT TOP %(limit)s *
  FROM (
    %(orig_sql)s
    ORDER BY %(ord)s
  ) AS %(table)s
  ORDER BY %(rev_ord)s
) AS %(table)s
ORDER BY %(ord)s N/A SQL_SERVER_8_NO_LIMIT_QUERY SELECT *
FROM %(table)s
WHERE %(key)s NOT IN (
  %(orig_sql)s
  ORDER BY %(ord)s
) N/A USE_ROW_NUMBER 0 N/A USE_TOP_HMARK 1 N/A USE_TOP_LMARK 2 N/A _re_data_type_terminator N/A N/A re compile N/A N/A N/A \s*\b(?: filestream|collate|sparse|not|null|constraint|default|identity|rowguidcol |primary|unique|clustered|nonclustered|with|on|foreign|references|check ) N/A re IGNORECASE N/A _re_order_limit_offset N/A N/A re compile (?:ORDER BY\s+(.+?))?\s*(?:LIMIT\s+(\d+))?\s*(?:OFFSET\s+(\d+))?$ N/A _re_col_placeholder N/A N/A re compile \{_placeholder_(\d+)\} N/A _re_find_order_direction N/A N/A re compile \s+(asc|desc)\s*$ N/A re IGNORECASE _remove_order_limit_offset N/A N/A sql N/A N/A N/A N/A N/A N/A N/A N/A _re_order_limit_offset sub sql split None 1 N/A 1 N/A _break N/A N/A s find N/A N/A N/A Break a string s into the part before the substring to find, 
    and the part including and after the substring. N/A i N/A N/A s find find N/A N/A N/A s N/A i N/A s N/A i N/A _get_order_limit_offset N/A N/A sql N/A N/A N/A N/A N/A N/A N/A _re_order_limit_offset search sql groups N/A SQLCompiler N/A N/A compiler SQLCompiler N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super SQLCompiler self __init__ args kwargs N/A N/A self _re_pat_col N/A N/A re compile N/A N/A \{left_sql_quote}([^\{left_sql_quote}]+)\{right_sql_quote}$ format left_sql_quote N/A N/A N/A self connection ops left_sql_quote right_sql_quote N/A N/A N/A self connection ops right_sql_quote N/A resolve_columns N/A N/A self row fields N/A N/A N/A N/A N/A getattr self _using_row_number False N/A N/A row N/A row N/A 1 N/A values N/A N/A index_extra_select N/A len N/A N/A self query extra_select N/A N/A value field N/A zip_longest N/A row N/A index_extra_select fields N/A N/A field N/A N/A N/A N/A value N/A N/A N/A N/A self connection ops convert_values value field N/A N/A N/A ValueError N/A N/A N/A N/A N/A values append value N/A N/A N/A row N/A index_extra_select N/A tuple values N/A _fix_aggregates N/A N/A self N/A N/A N/A 
        MSSQL doesn't match the behavior of the other backends on a few of
        the aggregate functions; different return type behavior, different
        function names, etc.
        
        MSSQL's implementation of AVG maintains datatype without proding. To
        match behavior of other django backends, it needs to not drop remainders.
        E.g. AVG([1, 2]) needs to yield 1.5, not 1
         N/A N/A alias aggregate N/A N/A N/A N/A self query aggregate_select items N/A N/A N/A N/A aggregate sql_function AVG N/A N/A N/A N/A N/A N/A self query aggregate_select N/A alias sql_template %(function)s(CAST(%(field)s AS FLOAT)) N/A N/A N/A N/A aggregate sql_function STDDEV_SAMP N/A N/A N/A N/A N/A N/A self query aggregate_select N/A alias sql_function STDEV N/A N/A N/A N/A aggregate sql_function STDDEV_POP N/A N/A N/A N/A N/A N/A self query aggregate_select N/A alias sql_function STDEVP N/A N/A N/A N/A aggregate sql_function VAR_SAMP N/A N/A N/A N/A N/A N/A self query aggregate_select N/A alias sql_function VAR N/A N/A N/A N/A aggregate sql_function VAR_POP N/A N/A N/A N/A N/A N/A self query aggregate_select N/A alias sql_function VARP N/A as_sql N/A N/A self with_limits with_col_aliases N/A True False N/A N/A N/A with_limits N/A N/A N/A self query low_mark N/A N/A self query high_mark N/A N/A N/A N/A N/A N/A N/A self _fix_aggregates N/A N/A self _using_row_number False N/A check_limits N/A with_limits N/A N/A N/A self query low_mark N/A N/A N/A self query high_mark None N/A N/A check_limits N/A N/A N/A N/A N/A setattr N/A self query _mssql_ordering_not_allowed with_col_aliases N/A result N/A N/A N/A super SQLCompiler self as_sql with_limits with_col_aliases N/A N/A N/A delattr N/A self query _mssql_ordering_not_allowed N/A result N/A N/A raw_sql fields N/A N/A N/A super SQLCompiler self as_sql False with_col_aliases N/A N/A N/A N/A N/A self query high_mark None N/A N/A N/A self query low_mark N/A N/A N/A N/A N/A self connection ops is_db2 N/A N/A sql N/A N/A self _select_top raw_sql N/A N/A self query high_mark N/A N/A _select SELECT N/A N/A N/A self query distinct N/A N/A _select  DISTINCT N/A sql N/A N/A re sub N/A N/A (?i)^{0} format _select N/A N/A {0} TOP {1} format _select N/A N/A self query high_mark raw_sql 1 N/A N/A sql fields N/A N/A self _using_row_number True N/A inner_select N/A _remove_order_limit_offset raw_sql N/A N/A outer_fields inner_select N/A N/A self _alias_columns inner_select N/A order N/A N/A _get_order_limit_offset raw_sql N/A 0 N/A qn N/A N/A N/A self connection ops quote_name N/A inner_table_name N/A qn AAAA N/A N/A outer_fields inner_select order N/A N/A self _fix_slicing_order outer_fields inner_select order inner_table_name N/A f N/A N/A x N/A N/A outer_fields split , N/A N/A i N/A N/A N/A N/A x upper find  AS  N/A N/A i -1 N/A N/A x N/A x N/A N/A i 4 N/A N/A N/A N/A x find . -1 N/A N/A N/A tbl col N/A N/A x rsplit . 1 N/A N/A col x N/A N/A N/A f append N/A N/A {0}.{1} format inner_table_name N/A N/A col strip N/A inner_select N/A N/A {fields} FROM ( SELECT {inner} ) AS {inner_as} format fields N/A N/A ,  join f inner inner_select inner_as inner_table_name N/A row_num_col N/A N/A N/A N/A self connection ops is_db2 django_pyodbc_row_num _row_num N/A where_row_num N/A N/A {0} < {row_num_col} format N/A N/A self query low_mark row_num_col row_num_col N/A N/A N/A self query high_mark N/A N/A where_row_num N/A N/A  and {row_num_col} <= {0} format N/A N/A self query high_mark row_num_col row_num_col N/A N/A N/A N/A N/A N/A self connection ops sql_server_ver 2005 N/A N/A N/A N/A self connection ops is_db2 N/A N/A num_to_select N/A N/A N/A self query high_mark N/A N/A self query low_mark N/A N/A order_by_col_with_prefix order_direction N/A N/A order rsplit 1 N/A order_by_col N/A N/A N/A order_by_col_with_prefix rsplit . 1 N/A -1 N/A opposite_order_direction N/A REV_ODIR N/A order_direction N/A sql N/A N/A 
                SELECT 
                1, -- placeholder for _row_num
                * FROM
                (
                    SELECT TOP
                    -- num_to_select
                    {num_to_select}
                    *
                    FROM
                    (
                        SELECT TOP 
                        -- high_mark
                        {high_mark}
                        -- inner
                        {inner}
                        ORDER BY (
                        -- order_by_col
                        {left_sql_quote}AAAA{right_sql_quote}.{order_by_col}
                        ) 
                        -- order_direction
                        {order_direction}
                    ) AS BBBB ORDER BY ({left_sql_quote}BBBB{right_sql_quote}.{order_by_col}) {opposite_order_direction}
                ) AS QQQQ ORDER BY ({left_sql_quote}QQQQ{right_sql_quote}.{order_by_col}) {order_direction}
                 format inner inner_select num_to_select num_to_select high_mark N/A N/A self query high_mark order_by_col order_by_col order_direction order_direction opposite_order_direction opposite_order_direction left_sql_quote N/A N/A N/A self connection ops left_sql_quote right_sql_quote N/A N/A N/A self connection ops right_sql_quote N/A N/A sql N/A N/A SELECT {row_num_col}, {outer} FROM ( SELECT ROW_NUMBER() OVER ( ORDER BY {order}) as {row_num_col}, {inner}) as QQQ where {where} format outer outer_fields order order inner inner_select where where_row_num row_num_col row_num_col N/A N/A sql fields N/A _select_top N/A N/A self select inner_sql number_to_fetch N/A N/A N/A N/A N/A N/A self connection ops is_db2 N/A N/A N/A N/A {select} {inner_sql} FETCH FIRST {number_to_fetch} ROWS ONLY format select select inner_sql inner_sql number_to_fetch number_to_fetch N/A N/A N/A N/A {select} TOP {number_to_fetch} {inner_sql} format select select inner_sql inner_sql number_to_fetch number_to_fetch N/A _fix_slicing_order N/A N/A self outer_fields inner_select order inner_table_name N/A N/A N/A 
        Apply any necessary fixes to the outer_fields, inner_select, and order 
        strings due to slicing.
         N/A N/A order None N/A N/A meta N/A N/A N/A self query get_meta N/A column N/A N/A N/A meta pk db_column N/A N/A N/A meta pk get_attname N/A order N/A N/A {0}.{1} ASC format inner_table_name N/A N/A N/A N/A self connection ops quote_name column N/A N/A alias_id 0 N/A new_order N/A N/A x N/A N/A order split , N/A N/A m N/A N/A _re_find_order_direction search x N/A m N/A N/A direction N/A N/A N/A m groups N/A 0 N/A N/A direction ASC N/A x N/A N/A _re_find_order_direction sub x N/A col N/A N/A N/A x rsplit . 1 N/A -1 N/A N/A x inner_select N/A N/A alias_id 1 N/A col N/A N/A {left_sql_quote}{0}___o{1}{right_sql_quote} format N/A N/A col strip N/A N/A N/A N/A self connection ops left_sql_quote N/A N/A N/A self connection ops right_sql_quote alias_id left_sql_quote N/A N/A N/A self connection ops left_sql_quote right_sql_quote N/A N/A N/A self connection ops right_sql_quote N/A inner_select N/A N/A ({0}) AS {1}, {2} format x col inner_select N/A N/A N/A new_order append N/A N/A {0}.{1} {2} format inner_table_name col direction N/A order N/A N/A ,  join new_order N/A N/A outer_fields inner_select order N/A _alias_columns N/A N/A self sql N/A N/A N/A Return tuple of SELECT and FROM clauses, aliasing duplicate column names. N/A qn N/A N/A N/A self connection ops quote_name N/A outer N/A list N/A inner N/A list N/A names_seen N/A list N/A N/A paren_depth paren_buf N/A 0 N/A N/A N/A parens i N/A N/A 0 N/A ch sql N/A N/A N/A ch ( N/A N/A i 1 N/A paren_depth 1 N/A N/A N/A paren_buf append N/A N/A N/A ch ) N/A N/A paren_depth 1 N/A key N/A N/A _placeholder_{0} format i N/A buf N/A N/A paren_buf pop N/A buf N/A N/A re sub %([^\(]) $$$\1 buf N/A N/A parens N/A key N/A buf parens N/A N/A parens N/A key N/A N/A re sub \$\$\$([^\(]) %\1 N/A parens N/A key N/A N/A paren_buf N/A paren_depth N/A N/A (%( key )s) N/A N/A N/A paren_buf N/A paren_depth ch _replace_sub N/A N/A col N/A N/A N/A Replace all placeholders with expanded values N/A N/A N/A _re_col_placeholder search col N/A N/A col N/A N/A col format parens N/A col N/A N/A temp_sql N/A N/A join paren_buf N/A placeholder_data N/A i i _alias_placeholders N/A N/A val N/A N/A N/A i N/A placeholder_data N/A i N/A i 1 N/A N/A placeholder_data N/A i i N/A key N/A N/A _placeholder_{0} format i N/A N/A parens N/A key %s N/A N/A N/A %( key )s N/A N/A temp_sql N/A N/A re sub %s _alias_placeholders temp_sql N/A N/A select_list from_clause N/A _break temp_sql N/A  FROM  N/A N/A N/A self connection ops left_sql_quote N/A col N/A N/A N/A x strip N/A x N/A N/A select_list split , N/A N/A match N/A N/A N/A self _re_pat_col search col N/A match N/A N/A col_name N/A N/A match group 1 N/A col_key N/A N/A col_name lower N/A N/A col_key names_seen N/A N/A alias N/A qn N/A N/A {0}___{1} format col_name N/A N/A names_seen count col_key N/A N/A N/A outer append alias N/A N/A N/A inner append N/A N/A {0} as {1} format N/A _replace_sub col alias N/A N/A N/A N/A outer append N/A qn col_name N/A N/A N/A inner append N/A _replace_sub col N/A N/A N/A names_seen append col_key N/A N/A N/A Exception N/A N/A Unable to find a column name when parsing SQL: {0} format col N/A N/A N/A N/A ,  join outer N/A N/A N/A ,  join inner N/A from_clause parens N/A get_ordering N/A N/A self N/A N/A N/A N/A getattr N/A self query _mssql_ordering_not_allowed False N/A N/A N/A N/A N/A N/A django VERSION N/A 0 1 N/A N/A N/A django VERSION N/A 1 6 N/A N/A N/A None N/A N/A N/A None N/A N/A N/A N/A N/A N/A super SQLCompiler self get_ordering N/A N/A SQLInsertCompiler N/A N/A compiler SQLInsertCompiler SQLCompiler N/A N/A _re_values_sub N/A N/A re compile (?P<prefix>\)|\])(?P<default>\s*|\s*default\s*)values(?P<suffix>\s*|\s+\()? N/A re IGNORECASE N/A _values_repl \g<prefix> OUTPUT INSERTED.{col} INTO @sqlserver_ado_return_id\g<default>VALUES\g<suffix> as_sql N/A N/A self N/A args kwargs N/A N/A N/A N/A hasattr self return_id N/A N/A N/A self return_id False N/A result N/A N/A N/A super SQLInsertCompiler self as_sql args kwargs N/A N/A isinstance result list N/A N/A N/A N/A N/A self _fix_insert N/A x N/A 0 N/A x N/A 1 N/A x result N/A N/A sql params result N/A N/A N/A self _fix_insert sql params N/A _fix_insert N/A N/A self sql params N/A N/A N/A 
        Wrap the passed SQL with IDENTITY_INSERT statements and apply
        other necessary fixes.
         N/A meta N/A N/A N/A self query get_meta N/A N/A meta has_auto_field N/A N/A N/A hasattr N/A self query fields N/A N/A fields N/A N/A self query fields N/A auto_field N/A meta auto_field N/A N/A fields N/A N/A self query columns N/A auto_field N/A N/A N/A meta auto_field db_column N/A N/A meta auto_field column N/A auto_in_fields N/A auto_field fields N/A quoted_table N/A N/A N/A N/A self connection ops quote_name N/A meta db_table N/A N/A N/A fields N/A auto_in_fields N/A N/A len fields 1 N/A params N/A N/A sql N/A N/A INSERT INTO {0} DEFAULT VALUES format quoted_table N/A params N/A N/A N/A auto_in_fields N/A N/A sql N/A N/A SET IDENTITY_INSERT {table} ON;{sql};SET IDENTITY_INSERT {table} OFF format table quoted_table sql sql N/A N/A N/A self return_id N/A N/A N/A self connection features can_return_id_from_insert N/A N/A col N/A N/A N/A N/A self connection ops quote_name N/A N/A N/A meta pk db_column N/A N/A N/A meta pk get_attname N/A pk_db_type N/A N/A N/A _re_data_type_terminator split N/A N/A N/A meta pk db_type N/A self connection N/A 0 N/A sql N/A N/A SET NOCOUNT ON;{declare_table_var};{sql};{select_return_id} format sql sql declare_table_var N/A N/A DECLARE @sqlserver_ado_return_id table ({col_name} {pk_type}) format col_name col pk_type pk_db_type select_return_id SELECT * FROM @sqlserver_ado_return_id N/A output N/A N/A N/A self _values_repl format col col N/A sql N/A N/A N/A self _re_values_sub sub output sql N/A N/A sql params N/A N/A SQLInsertCompiler2 N/A N/A compiler SQLInsertCompiler SQLCompiler N/A as_sql_legacy N/A N/A self N/A N/A N/A qn N/A N/A N/A self connection ops quote_name N/A opts N/A N/A N/A self query model _meta N/A returns_id N/A bool N/A N/A self return_id N/A N/A N/A self connection features can_return_id_from_insert N/A result N/A N/A INSERT INTO %s N/A qn N/A opts db_table N/A N/A N/A result append N/A (%s) N/A N/A ,  join N/A N/A qn c N/A c N/A N/A self query columns N/A returns_id N/A N/A N/A N/A result append N/A OUTPUT inserted.%s N/A qn N/A N/A opts pk column N/A values N/A N/A N/A self placeholder v N/A v N/A N/A self query values N/A N/A N/A result append N/A VALUES (%s) N/A N/A ,  join values N/A params N/A N/A self query params N/A sql N/A N/A join result N/A meta N/A N/A N/A self query get_meta N/A N/A meta has_auto_field N/A N/A auto_field_column N/A N/A N/A meta auto_field db_column N/A N/A meta auto_field column N/A N/A auto_field_column N/A N/A self query columns N/A N/A quoted_table N/A N/A N/A N/A self connection ops quote_name N/A meta db_table N/A N/A N/A N/A len N/A N/A self query columns 1 N/A params N/A N/A result N/A N/A INSERT INTO %s quoted_table N/A returns_id N/A N/A N/A N/A result append N/A OUTPUT inserted.%s N/A qn N/A N/A opts pk column N/A N/A N/A result append DEFAULT VALUES N/A sql N/A N/A join result N/A N/A sql N/A SET IDENTITY_INSERT %s ON;
%s;
SET IDENTITY_INSERT %s OFF N/A quoted_table sql quoted_table N/A N/A sql params N/A as_sql N/A N/A self N/A N/A N/A N/A N/A N/A self connection _DJANGO_VERSION 14 N/A N/A N/A N/A self as_sql_legacy N/A qn N/A N/A N/A self connection ops quote_name N/A opts N/A N/A N/A self query model _meta N/A result N/A N/A INSERT INTO %s N/A qn N/A opts db_table N/A has_fields N/A bool N/A N/A self query fields N/A fields N/A has_fields N/A N/A self query fields N/A N/A opts pk N/A columns N/A N/A f column N/A f fields N/A N/A N/A result append N/A (%s) N/A N/A ,  join N/A N/A qn c N/A c columns N/A has_fields N/A N/A params values N/A N/A N/A N/A f get_db_prep_save N/A N/A N/A self query raw N/A getattr obj N/A f attname N/A N/A f pre_save obj True connection N/A self connection N/A f fields N/A obj N/A N/A self query objs N/A N/A values N/A N/A N/A N/A N/A N/A self connection ops pk_default_value N/A obj N/A N/A self query objs N/A params N/A N/A N/A fields N/A None N/A placeholders N/A N/A N/A N/A self placeholder field v N/A N/A field v N/A zip fields val N/A val values N/A N/A N/A self return_id N/A N/A N/A self connection features can_return_id_from_insert N/A N/A params N/A params N/A 0 N/A output N/A OUTPUT inserted.%s N/A qn N/A N/A opts pk column N/A N/A N/A result append output N/A N/A N/A result append N/A VALUES (%s) N/A N/A ,  join N/A placeholders N/A 0 N/A N/A N/A N/A N/A join result N/A tuple params N/A items N/A N/A N/A N/A join N/A result N/A N/A VALUES (%s) N/A N/A ,  join p vals N/A N/A p vals N/A zip placeholders params N/A meta N/A N/A N/A self query get_meta N/A N/A meta has_auto_field N/A N/A auto_field_column N/A N/A N/A meta auto_field db_column N/A N/A meta auto_field column N/A out N/A N/A N/A sql params items N/A N/A N/A auto_field_column columns N/A N/A quoted_table N/A N/A N/A N/A self connection ops quote_name N/A meta db_table N/A N/A has_fields N/A N/A sql N/A INSERT INTO %s DEFAULT VALUES quoted_table N/A N/A sql N/A SET IDENTITY_INSERT %s ON;
%s;
SET IDENTITY_INSERT %s OFF N/A quoted_table sql quoted_table N/A N/A N/A out append N/A sql params N/A items out N/A items N/A N/A SQLDeleteCompiler N/A N/A compiler SQLDeleteCompiler SQLCompiler N/A N/A N/A SQLUpdateCompiler N/A N/A compiler SQLUpdateCompiler SQLCompiler N/A N/A N/A SQLAggregateCompiler N/A N/A compiler SQLAggregateCompiler SQLCompiler N/A as_sql N/A N/A self qn N/A None N/A N/A N/A N/A self _fix_aggregates N/A N/A N/A N/A super SQLAggregateCompiler self as_sql qn qn N/A N/A N/A N/A N/A N/A DjangoVersion N/A 0 1 N/A N/A DjangoVersion N/A 1 8 N/A N/A warnings DeprecatedMeta N/A type N/A __new__ N/A N/A cls name bases attrs N/A N/A N/A N/A N/A N/A attrs get __metaclass__ cls N/A N/A msg N/A N/A N/A N/A N/A In the 1.8 release of django, `SQLDateCompiler` was  removed.  This was a parent class of ` name `, and thus ` name ` needs to be changed. N/A N/A ImportError msg N/A N/A N/A N/A super DeprecatedMeta cls __new__ cls name bases attrs N/A N/A SQLDateCompiler N/A object N/A N/A __metaclass__ DeprecatedMeta N/A SQLDateTimeCompiler N/A object N/A N/A __metaclass__ DeprecatedMeta N/A N/A SQLDateCompiler N/A N/A compiler SQLDateCompiler SQLCompiler N/A N/A N/A SQLDateTimeCompiler N/A N/A compiler SQLDateCompiler SQLCompiler N/A N/A N/A