Module Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Return TupleLoad BinOpMod Str TupleLoad SubscriptLoad NameLoad Index BinOpSub Call NameLoad NameLoad Num Call NameLoad NameLoad Call NameLoad BinOpAdd BinOpMult NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad BinOpAdd BinOpMult NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListComp TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Raise decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad Str NameLoad ListLoad Call NameLoad Str keyword Str Call NameLoad Str keyword Str keyword NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad Str NameLoad ListLoad Call NameLoad Str keyword Str Call NameLoad Str keyword Str keyword NameLoad orelse Return Call NameLoad Str Call NameLoad Str keyword Str keyword NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Return ListLoad Call NameLoad Str Call NameLoad Str NameLoad Return ListLoad decorator_list NameLoad decorator_list
N/A N/A itertools sqlagg.columns MonthColumn YearColumn YearQuarterColumn sqlagg.filters IN corehq.apps.reports.sqlreport SqlReportException AggregateColumn DatabaseColumn corehq.apps.reports.util format_datatables_data get_INFilter_bindparams corehq.sql_db.connections connection_manager combine_month_year N/A N/A year month N/A N/A N/A months N/A Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec N/A N/A N/A %s %s N/A N/A months N/A N/A N/A int month 1 N/A int year N/A int N/A N/A year 100 month N/A combine_quarter_year N/A N/A year quarter N/A N/A N/A N/A N/A %s Q%s N/A N/A int year N/A int quarter N/A int N/A N/A year 10 quarter N/A format_year N/A N/A year N/A N/A N/A N/A format_datatables_data N/A int year N/A int year N/A format_date N/A N/A value N/A N/A N/A N/A format_datatables_data N/A value N/A 0 N/A value N/A 1 N/A CVSUSqlDataMixin N/A object N/A _find_column_view N/A N/A self column_name N/A N/A N/A column N/A self columns N/A N/A N/A isinstance column AggregateColumn N/A N/A c N/A N/A column view columns N/A N/A N/A N/A c name column_name N/A N/A c N/A N/A N/A N/A column slug column_name N/A N/A N/A column view N/A _find_column N/A N/A self column_name N/A N/A N/A column N/A self columns N/A N/A N/A N/A column slug column_name N/A N/A column N/A _get_data N/A N/A self N/A N/A N/A N/A N/A N/A self keys None N/A N/A self group_by N/A N/A N/A SqlReportException Keys supplied without group_by. N/A qc N/A N/A self query_context N/A c N/A self columns N/A N/A N/A N/A qc append_column N/A c view N/A session N/A N/A connection_manager get_scoped_session N/A self engine_id N/A N/A N/A qm N/A N/A N/A qc query_meta values N/A N/A date_aggregation_column None N/A N/A N/A len N/A qm columns 1 N/A N/A c N/A N/A self _find_column N/A N/A N/A qm columns N/A 0 column_name N/A N/A hasattr c date_aggregation_column N/A N/A date_aggregation_column N/A c date_aggregation_column N/A columns_names N/A N/A N/A itertools chain from_iterable N/A N/A N/A col column_name N/A col alias N/A col N/A qm columns N/A group_by N/A self group_by N/A N/A N/A group_by columns_names N/A N/A column N/A N/A self _find_column_view group_by N/A column N/A N/A date_aggregation_column N/A N/A N/A column key date_aggregation_column N/A N/A N/A column sql_column column_name date_aggregation_column N/A N/A N/A qm append_column column N/A N/A N/A qc resolve N/A N/A session connection N/A self filter_values N/A N/A N/A N/A N/A N/A session rollback N/A N/A N/A DateColumnMixin N/A object N/A date_column N/A N/A self N/A N/A N/A N/A N/A self grouping month N/A N/A N/A AggregateColumn Month combine_month_year N/A N/A YearColumn date_reported alias year N/A MonthColumn date_reported alias month format_fn format_date N/A N/A N/A N/A self grouping quarter N/A N/A N/A AggregateColumn Quarter combine_quarter_year N/A N/A YearColumn date_reported alias year N/A YearQuarterColumn date_reported alias quarter format_fn format_date N/A N/A N/A DatabaseColumn Year N/A YearColumn date_reported alias year format_fn format_year N/A property N/A FilterMixin N/A object N/A filters N/A N/A self N/A N/A N/A N/A N/A self group_by_district N/A N/A users N/A tuple N/A N/A user user_id N/A user N/A self users N/A N/A N/A IN user_id N/A get_INFilter_bindparams users users N/A N/A N/A property N/A