Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict body Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Dict Str Str NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Dict body Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Dict body Assign NameStore IfExp CompareIn Str NameLoad SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Dict Str Str Str Str NameLoad ListLoad ListLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str If BoolOpAnd CompareIs NameLoad NameLoad CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str Str orelse If CompareNotEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If BoolOpAnd CompareIn Str NameLoad CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword Dict Str Str NameLoad Dict Str Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num attr Str Str Assign NameStore Dict Str Str Str Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword Dict Str NameLoad orelse Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num keyword AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str NameLoad keyword Dict Str Str Assign NameStore Call AttributeLoad Str attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list
N/A N/A logging N/A json N/A re N/A time N/A sqlite3 N/A StringIO pprint pprint twisted.web.resource Resource twisted.web.server NOT_DONE_YET twisted.web http N/A util N/A qasino_table N/A csv_table_reader jinja2 Environment FileSystemLoader UIResource N/A Resource N/A N/A isLeaf True __init__ N/A N/A self templates_dir data_manager N/A N/A N/A N/A self data_manager data_manager N/A N/A self jinja N/A Environment loader N/A FileSystemLoader templates_dir N/A render_page N/A N/A self page_name request context N/A N/A N/A N/A N/A N/A request setHeader Content-Type text/html; charset=utf-8 N/A ctx N/A page params page_name N/A request args N/A N/A k v N/A N/A context iteritems N/A N/A N/A ctx N/A k v N/A template N/A N/A N/A self jinja get_template N/A page_name .html.j2 N/A output N/A N/A template render ctx N/A N/A N/A output encode utf-8 N/A render_page_with_sql N/A N/A self page_name sql request context N/A N/A N/A N/A N/A N/A request setHeader Content-Type text/html; charset=utf-8 N/A query_id N/A N/A N/A self data_manager get_query_id N/A query_start N/A N/A time time N/A d N/A N/A N/A self data_manager async_validate_and_route_query sql query_id N/A N/A N/A d addCallback N/A self sql_complete_callback page_name query_id query_start request context context N/A NOT_DONE_YET N/A sql_complete_callback N/A N/A self result page_name query_id query_start request context N/A N/A N/A N/A data N/A N/A data result N/A result N/A data None N/A ctx N/A page rows column_names params page_name N/A N/A N/A request args N/A N/A k v N/A N/A context iteritems N/A N/A N/A ctx N/A k v N/A template N/A N/A N/A self jinja get_template N/A page_name .html.j2 N/A err_msg N/A str N/A N/A result get error_message N/A N/A N/A data None N/A err_msg N/A N/A N/A ctx N/A error_message No data! N/A N/A N/A err_msg N/A N/A N/A ctx N/A error_message err_msg N/A N/A N/A N/A rows data N/A column_names data N/A N/A N/A ctx N/A rows N/A data N/A rows N/A N/A ctx N/A column_names N/A data N/A column_names N/A N/A N/A ctx N/A error_message No row or column data in result! N/A output N/A N/A template render ctx N/A N/A N/A request write N/A N/A output encode utf-8 N/A N/A N/A request finish N/A N/A UIResourceTables N/A UIResource N/A render_GET N/A N/A self request N/A N/A N/A sql select tablename, nr_rows, nr_updates, datetime(last_update_epoch, 'unixepoch') last_update, static from qasino_server_tables order by tablename; N/A name_map N/A tablename nr_rows nr_updates last_update static Tablename Nr Rows Nr Updates Last Update Static N/A N/A N/A self render_page_with_sql tables sql request context N/A pretty_column_names_map links name_map N/A tablename /desc?tablename=%s N/A N/A UIResourceDesc N/A UIResource N/A render_GET N/A N/A self request N/A N/A N/A N/A tablename N/A request args N/A N/A sql N/A N/A desc {}; format N/A N/A N/A N/A N/A request args N/A tablename N/A 0 replace N/A name_map N/A column_name column_type Column Name Column Type N/A N/A N/A self render_page_with_sql desc sql request context N/A pretty_column_names_map name_map N/A N/A N/A N/A self render_page desc request N/A N/A UIResourceQuery N/A UIResource N/A render_GET N/A N/A self request N/A N/A N/A N/A sql N/A request args N/A N/A m N/A N/A re search ^\s*select\s+ N/A N/A N/A request args N/A sql N/A 0 flags N/A re IGNORECASE N/A N/A m None N/A N/A N/A N/A self render_page query request context N/A error_message Please use only SELECT statements. N/A sql N/A N/A {}; format N/A N/A N/A request args N/A sql N/A 0 N/A N/A N/A self render_page_with_sql query sql request N/A N/A N/A N/A self render_page query request N/A N/A