Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Num ListLoad Str Str Str Dict Str Str Num Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Num ListLoad Str Str Str Dict Str Str Num Num Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Num ListLoad Str Str Str Dict Str Str Num Dict Str Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Num Num Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Call AttributeLoad NameLoad attr Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str ListLoad Dict Str Dict Str Str Str Str Str Dict Str Str Str ListLoad Num Num Num Str Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Num ListLoad Str Str Str Dict Str Str Num Num Str Dict Str Str Dict Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad Call AttributeLoad NameLoad attr Num Num Num Num Num attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list decorator_list
N/A N/A datetime N/A json unittest TestCase pytz utc redash.query_runner.mongodb parse_query_json redash.utils parse_human_time TestParseQueryJson N/A TestCase N/A test_ignores_non_isodate_fields N/A N/A self N/A N/A N/A query N/A test test_list test_dict 1 N/A a b c N/A a b 1 2 N/A query_data N/A parse_query_json N/A N/A json dumps query N/A N/A N/A self assertDictEqual query_data query N/A test_parses_isodate_fields N/A N/A self N/A N/A N/A query N/A test test_list test_dict testIsoDate 1 N/A a b c N/A a b 1 2 ISODate("2014-10-03T00:00") N/A query_data N/A parse_query_json N/A N/A json dumps query N/A N/A N/A self assertEqual N/A query_data N/A testIsoDate N/A N/A datetime datetime 2014 10 3 0 0 N/A test_parses_isodate_in_nested_fields N/A N/A self N/A N/A N/A query N/A test test_list test_dict testIsoDate 1 N/A a b c N/A a b 1 N/A date ISODate("2014-10-04T00:00") ISODate("2014-10-03T00:00") N/A query_data N/A parse_query_json N/A N/A json dumps query N/A N/A N/A self assertEqual N/A query_data N/A testIsoDate N/A N/A datetime datetime 2014 10 3 0 0 N/A N/A N/A self assertEqual N/A N/A N/A query_data N/A test_dict N/A b N/A date N/A N/A datetime datetime 2014 10 4 0 0 N/A test_handles_nested_fields N/A N/A self N/A N/A N/A query N/A collection aggregate bus N/A N/A $geoNear N/A near maxDistance distanceField includeLocs spherical N/A type coordinates Point N/A -22.910079 -43.205161 100000000 dist.calculated dist.location True N/A query_data N/A parse_query_json N/A N/A json dumps query N/A N/A N/A self assertDictEqual query query_data N/A test_supports_extended_json_types N/A N/A self N/A N/A N/A query N/A test test_list test_dict testIsoDate test$date test$undefined 1 N/A a b c N/A a b 1 2 ISODate("2014-10-03T00:00") N/A $date 2014-10-03T00:00:00.0 N/A $undefined None N/A query_data N/A parse_query_json N/A N/A json dumps query N/A N/A N/A self assertEqual N/A query_data N/A test$undefined None N/A N/A N/A self assertEqual N/A query_data N/A test$date N/A N/A N/A N/A datetime datetime 2014 10 3 0 0 replace tzinfo utc N/A test_supports_relative_timestamps N/A N/A self N/A N/A N/A query N/A ts N/A $humanTime 1 hour ago N/A one_hour_ago N/A parse_human_time 1 hour ago N/A query_data N/A parse_query_json N/A N/A json dumps query N/A N/A N/A self assertEqual N/A query_data N/A ts one_hour_ago N/A N/A