Module Import alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return CompareIn Str AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Dict Str Str Str Str Dict Str Dict Str Str Str Str ListLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareGt Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Num body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return TupleLoad NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad Str body Return TupleLoad NameLoad NameLoad Assign NameStore Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Return TupleLoad NameLoad Call NameLoad NameLoad ExceptHandler type NameLoad body Assign NameStore Str Assign NameStore NameLoad ExceptHandler type NameLoad name NameStore body Raise SubscriptLoad Call AttributeLoad NameLoad attr Index Num NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Return TupleLoad NameLoad NameLoad decorator_list decorator_list Expr Call NameLoad NameLoad
N/A N/A os N/A sys N/A subprocess redash.query_runner * Script N/A BaseQueryRunner N/A enabled N/A N/A cls N/A N/A N/A N/A check_output N/A subprocess __dict__ N/A classmethod configuration_schema N/A N/A cls N/A N/A N/A N/A type properties required object N/A path N/A type title string Scripts path N/A path N/A classmethod annotate_query N/A N/A cls N/A N/A N/A False N/A classmethod __init__ N/A N/A self configuration N/A N/A N/A N/A N/A N/A super Script self __init__ configuration N/A N/A N/A N/A N/A N/A self configuration N/A path find ../ -1 N/A N/A N/A ValueError Scripts can only be run from the configured scripts directory N/A run_query N/A N/A self query N/A N/A N/A N/A N/A json_data None N/A error None N/A query N/A N/A query strip N/A script N/A N/A N/A os path join N/A N/A self configuration N/A path N/A N/A N/A query split N/A 0 N/A N/A N/A N/A N/A os path exists script N/A N/A N/A None N/A Script '%s' not found in script directory query N/A script N/A N/A N/A os path join N/A N/A self configuration N/A path query N/A output N/A N/A subprocess check_output N/A N/A script split shell False N/A N/A output None N/A N/A output N/A N/A output strip N/A N/A output N/A N/A N/A output None N/A error Error reading output N/A N/A N/A N/A subprocess CalledProcessError N/A e N/A N/A N/A None N/A str e N/A N/A KeyboardInterrupt N/A N/A error Query cancelled by user. N/A json_data None N/A N/A Exception N/A e N/A N/A N/A N/A N/A sys exc_info N/A 1 None N/A N/A N/A sys exc_info N/A 2 N/A N/A json_data error N/A N/A N/A N/A register Script