Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareNotEq NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad keyword Num keyword Num Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd CompareNotEq NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Return Dict Str Str Num Call NameLoad NameLoad Assign NameStore Dict Assign NameStore ListLoad TryExcept body For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad CompareLt SubscriptLoad NameLoad Index Call NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Num body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Dict Str Str ListLoad Str ListLoad Return Dict Str Str Str Str Num Str NameLoad Dict Str Num Assign NameStore ListLoad Assign NameStore Num TryExcept body For NameStore Call AttributeLoad NameLoad attr body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad CompareLt SubscriptLoad NameLoad Index Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Return Dict Str Str Num Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Assign NameStore Dict Str Str NameLoad NameLoad Return Dict Str Str Str Str Num Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpOr CompareEq NameLoad NameLoad CompareLtE Call NameLoad NameLoad Num body Return TupleLoad Num BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Dict Str Str ListLoad Str Str NameLoad Return TupleLoad Num Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd NameLoad Str Call AttributeLoad Str attr NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Call AttributeLoad Str attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Return Assign NameStore BinOpMod Str TupleLoad NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr ListComp Str comprehension NameStore NameLoad Assign NameStore Num For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Assign NameStore Num Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad Assign NameStore Call AttributeLoad Str attr Call AttributeLoad Str attr BinOpMult ListLoad Str NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If CompareGt BinOpAdd NameLoad NameLoad NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr BinOpMult ListLoad NameLoad BinOpDiv NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad Assign NameStore Num Assign NameStore NameLoad AugAssignAdd NameStore NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num If CompareGt NameLoad Num body AugAssignAdd NameStore Call AttributeLoad Str attr BinOpMult ListLoad NameLoad BinOpDiv NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Str If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str IfExp CompareNotEq AttributeLoad NameLoad attr NameLoad Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad IfExp BoolOpAnd CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad CompareGt SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad NameLoad Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Dict Str Str Str Num NameLoad NameLoad orelse If NameLoad body AugAssignAdd SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str NameLoad AugAssignAdd SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str Num Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Dict Str Str Dict NameLoad NameLoad NameLoad orelse Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str NameLoad If BoolOpAnd NameLoad CompareIn NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str body AugAssignAdd SubscriptStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str Index NameLoad NameLoad orelse Assign SubscriptStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad CompareGt SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str Index NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return handlers ExceptHandler type NameLoad body Pass TryExcept body Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad If CompareIn Str NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse Raise NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Pass If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Num ExceptHandler type NameLoad name NameStore body TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Pass If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Num ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Pass Return Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str If NameLoad body AugAssignAdd NameStore Str If NameLoad body AugAssignAdd NameStore Str If NameLoad body AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad BinOpSub NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad keyword NameLoad Return Num decorator_list decorator_list
N/A N/A sys N/A os N/A sqlite3 N/A re N/A logging N/A time N/A string util Identity unicode_safe_str N/A apsw_connection N/A qasino_table N/A apsw twisted.enterprise adbapi twisted.internet reactor N/A thread CreateTableException N/A Exception N/A N/A N/A SqlConnections N/A object N/A N/A 
    A pool of connections to a sql backend.
    Will be called either "sql_backend_writer" or "sql_backend_reader"
    by the data manager.
     N/A WRITER_INTERACTION 0 N/A READER_INTERACTION 1 __init__ N/A N/A self filename data_manager archive_db_dir thread_id static_filename N/A N/A N/A N/A self data_manager data_manager N/A N/A self tables N/A N/A N/A self connections N/A N/A N/A self stats N/A N/A N/A self archive_db_dir archive_db_dir N/A N/A self main_thread thread_id N/A N/A N/A self open_new_db filename static_filename N/A open_new_db N/A N/A self filename static_filename N/A N/A N/A N/A self filename filename N/A N/A self static_filename static_filename N/A N/A adbapi connectionFactory N/A apsw_connection ApswConnection attach_static_db N/A N/A conn N/A N/A N/A N/A N/A static_filename None N/A N/A N/A os path exists static_filename N/A N/A cur N/A N/A conn cursor N/A N/A N/A result N/A N/A cur execute N/A ATTACH DATABASE '%s' AS static; static_filename N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging info SqlConnections: ERROR Failed to attach static db '%s': %s static_filename N/A str e N/A N/A N/A self writer_dbpool N/A N/A adbapi ConnectionPool apsw_connection filename cp_openfun attach_static_db cp_min 1 cp_max 1 N/A N/A N/A self writer_dbpool connectionFactory N/A apsw_connection ApswConnection N/A N/A self reader_dbpool N/A N/A adbapi ConnectionPool apsw_connection filename cp_openfun attach_static_db N/A N/A N/A self reader_dbpool connectionFactory N/A apsw_connection ApswConnection N/A N/A N/A N/A self reader_dbpool runInteraction N/A self preload_tables_list N/A __del__ N/A N/A self N/A N/A N/A N/A N/A self main_thread N/A N/A thread get_ident N/A N/A N/A N/A SqlConnections shutdown N/A self writer_dbpool N/A self filename N/A self archive_db_dir N/A N/A N/A SqlConnections shutdown N/A self reader_dbpool N/A self filename N/A self archive_db_dir N/A N/A N/A N/A reactor callLater 0.1 N/A SqlConnections shutdown N/A self writer_dbpool N/A self filename N/A self archive_db_dir N/A N/A N/A reactor callLater 0.1 N/A SqlConnections shutdown N/A self reader_dbpool N/A self filename N/A self archive_db_dir N/A shutdown N/A N/A dbpool filename archive_db_dir N/A N/A N/A 
        Facilitates cleaning up filesystem objects after the last
        user of the connection pool goes away.
         N/A N/A N/A N/A N/A dbpool close N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging info SqlConnections: dbpool.close failed in shutdown: %s e N/A N/A N/A filename :memory: N/A N/A N/A os path exists filename N/A N/A archive_db_dir N/A N/A N/A N/A logging info SqlConnections: Archiving db file '%s' to '%s' filename archive_db_dir N/A N/A N/A N/A N/A os renames filename archive_db_dir N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging info SqlConnections: ERROR: Archive failed! %s e N/A N/A N/A N/A logging info SqlConnections: Removing db file '%s' filename N/A N/A N/A N/A N/A os remove filename N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging info SqlConnections: ERROR: Could not remove db file! %s e N/A staticmethod do_select N/A N/A self txn sql N/A N/A N/A N/A N/A self stats N/A sql_received N/A N/A N/A N/A self stats get sql_received 0 1 N/A N/A N/A retval N/A N/A txn execute sql N/A N/A N/A Exception N/A e N/A N/A N/A N/A self stats N/A sql_errors N/A N/A N/A N/A self stats get sql_errors 0 1 N/A N/A retval error_message 1 N/A str e N/A max_widths N/A N/A column_names N/A N/A N/A N/A N/A column_index column_name N/A enumerate N/A N/A txn getdescription N/A N/A N/A N/A N/A N/A max_widths has_key N/A str column_index N/A N/A max_widths N/A N/A str column_index N/A len N/A column_name N/A 0 N/A N/A N/A max_widths N/A N/A str column_index N/A len N/A column_name N/A 0 N/A N/A N/A column_names append N/A column_name N/A 0 N/A N/A N/A N/A apsw ExecutionCompleteError N/A e N/A N/A data N/A column_names rows N/A query returned zero rows N/A N/A N/A retval error_message data max_widths 0 data N/A 0 24 N/A saved_rows N/A N/A nr_rows 0 N/A N/A N/A row N/A N/A txn fetchall N/A N/A saved_row N/A N/A N/A column_index cell N/A enumerate row N/A N/A cell N/A unicode_safe_str cell N/A length N/A len cell N/A N/A N/A N/A N/A max_widths has_key N/A str column_index N/A N/A max_widths N/A N/A str column_index length N/A N/A N/A max_widths N/A N/A str column_index length N/A N/A N/A saved_row append cell N/A N/A N/A saved_rows append saved_row N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self stats N/A sql_errors N/A N/A N/A N/A self stats get sql_errors 0 1 N/A N/A retval error_message 1 N/A str e N/A N/A N/A self stats N/A sql_completed N/A N/A N/A N/A self stats get sql_completed 0 1 N/A data N/A column_names rows column_names saved_rows N/A N/A retval error_message data max_widths 0 data max_widths N/A get_schema N/A N/A self txn table N/A N/A N/A schema N/A N/A N/A N/A N/A N/A txn execute N/A pragma table_info( '%s' ); table N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging info SqlConnections: Failed to get table_info for '%s'. table N/A schema N/A row N/A N/A txn fetchall N/A N/A N/A N/A schema append N/A N/A str N/A row N/A 1 N/A str N/A row N/A 2 N/A schema N/A do_sql N/A N/A self txn sql N/A N/A N/A  Execute generic sql  N/A N/A N/A txn execute sql N/A do_desc N/A N/A self txn tablename N/A N/A N/A schema N/A N/A self get_schema txn tablename N/A N/A N/A schema None N/A N/A len schema 0 N/A N/A N/A 1 N/A Table %s not found N/A tablename None N/A table N/A column_names rows N/A column_name column_type schema N/A N/A 0 table N/A do_update_table N/A N/A self txn table identity N/A N/A N/A N/A N/A self stats N/A updates_received N/A N/A N/A N/A self stats get updates_received 0 1 N/A key_cols_str N/A N/A table get_property keycols N/A column_names N/A N/A table get_column_names N/A N/A key_cols_str None N/A N/A key_column_names column_names N/A N/A key_column_names N/A N/A string split key_cols_str ; N/A tablename N/A N/A table get_tablename N/A index_name N/A N/A tablename _unique_index_ N/A N/A _ join key_column_names N/A create_index_sql N/A CREATE UNIQUE INDEX IF NOT EXISTS %s ON %s (%s) N/A index_name tablename N/A N/A ,  join key_column_names N/A N/A N/A N/A N/A txn execute create_index_sql N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging info ERROR: Failed to create unique index for table update: '%s': ( %s ) N/A str e create_index_sql N/A N/A N/A self stats N/A update_errors N/A N/A N/A N/A self stats get update_errors 0 1 N/A N/A sql N/A INSERT OR REPLACE INTO %s (%s) VALUES (%s) N/A tablename N/A N/A ,  join column_names N/A N/A ,  join N/A ? N/A x column_names N/A rowcount 0 N/A row N/A N/A table get_rows N/A N/A N/A N/A txn execute sql row N/A rowcount N/A N/A N/A N/A txn getconnection changes N/A N/A N/A self stats N/A updates_completed N/A N/A N/A N/A self stats get updates_completed 0 1 N/A rowcount N/A do_insert_table N/A N/A self txn table N/A N/A N/A 
        Insert table into the backend.  Use multi-row insert
        statements (supported in sqlite 3.7.11) for speed.
         N/A N/A N/A self stats N/A inserts_received N/A N/A N/A N/A self stats get inserts_received 0 1 N/A rowcount 0 N/A base_query N/A INSERT INTO %s (%s) VALUES  N/A N/A N/A table get_tablename N/A N/A , join N/A N/A table get_column_names N/A nr_columns N/A len N/A N/A table get_column_names N/A max_nr_values 400 N/A nr_values 0 N/A bind_values N/A N/A one_row N/A N/A ({}) format N/A N/A , join N/A N/A ? nr_columns N/A sql base_query N/A N/A row_index row N/A enumerate N/A N/A table get_rows N/A N/A N/A N/A nr_values nr_columns max_nr_values N/A N/A sql N/A N/A , join N/A N/A one_row N/A nr_values nr_columns N/A N/A N/A txn execute sql bind_values N/A bind_values N/A N/A nr_values 0 N/A sql base_query N/A nr_values nr_columns N/A value row N/A N/A N/A N/A bind_values append value N/A rowcount 1 N/A N/A rowcount 0 N/A N/A sql N/A N/A , join N/A N/A one_row N/A nr_values nr_columns N/A N/A N/A txn execute sql bind_values N/A N/A N/A self stats N/A inserts_completed N/A N/A N/A N/A self stats get inserts_completed 0 1 N/A rowcount N/A run_interaction N/A N/A self interaction_type callback N/A args kwargs N/A N/A  
        Initiate a adbapi async interaction run a generic function, returns the deferred obj.
         N/A N/A interaction_type N/A SqlConnections WRITER_INTERACTION N/A N/A N/A N/A N/A self writer_dbpool runInteraction callback args kwargs N/A N/A N/A interaction_type N/A SqlConnections READER_INTERACTION N/A N/A N/A N/A N/A self reader_dbpool runInteraction callback args kwargs N/A N/A insert_info_table N/A N/A self txn db_generation_number generation_start_epoch generation_duration_s N/A N/A N/A  
        Adds a status table (qasino_server_info) to the database in each generation.
         N/A table N/A N/A qasino_table QasinoTable qasino_server_info N/A N/A N/A table add_column generation_number int N/A N/A N/A table add_column generation_duration_s int N/A N/A N/A table add_column generation_start_epoch int N/A N/A N/A table add_row N/A N/A str db_generation_number generation_duration_s generation_start_epoch N/A N/A N/A self add_table_data txn table N/A N/A Identity get_identity N/A insert_sql_stats_table N/A N/A self txn sql_backend_reader N/A N/A N/A  
        Adds a status table (qasino_server_sql_stats) to the database in each generation.
        Note we are actually saving stats from the "reader" backend because that is where 
        sql stats are logged.
         N/A table N/A N/A qasino_table QasinoTable qasino_server_sql_stats N/A N/A N/A table add_column sql_received int N/A N/A N/A table add_column sql_completed int N/A N/A N/A table add_column sql_errors int N/A N/A N/A table add_row N/A N/A N/A N/A sql_backend_reader stats get sql_received 0 N/A N/A N/A sql_backend_reader stats get sql_completed 0 N/A N/A N/A sql_backend_reader stats get sql_errors 0 N/A N/A N/A self add_table_data txn table N/A N/A Identity get_identity N/A insert_update_stats_table N/A N/A self txn N/A N/A N/A  
        Adds a status table (qasino_server_update_stats) to the database in each generation.
         N/A table N/A N/A qasino_table QasinoTable qasino_server_update_stats N/A N/A N/A table add_column updates_received int N/A N/A N/A table add_column updates_completed int N/A N/A N/A table add_column update_errors int N/A N/A N/A table add_column inserts_received int N/A N/A N/A table add_column inserts_completed int N/A N/A N/A table add_row N/A N/A N/A N/A self stats get updates_received 0 N/A N/A N/A self stats get updsates_completed 0 N/A N/A N/A self stats get update_errors 0 N/A N/A N/A self stats get inserts_received 0 N/A N/A N/A self stats get inserts_completed 0 N/A N/A N/A self add_table_data txn table N/A N/A Identity get_identity N/A add_tables_table_rows N/A N/A self table N/A N/A N/A N/A tablename table_data N/A N/A N/A self tables items N/A N/A N/A N/A table add_row N/A tablename N/A str N/A table_data N/A nr_rows N/A str N/A table_data N/A updates N/A table_data N/A last_update_epoch N/A N/A N/A self static_filename None 0 1 N/A preload_tables_list N/A N/A self txn N/A N/A N/A  
        This is used upon initial open of the db to get an actual list
        of tables from the db.
         N/A N/A N/A self do_sql txn SELECT tbl_name FROM sqlite_master WHERE type = 'table' and tbl_name NOT LIKE 'sqlite_%' N/A rows N/A N/A txn fetchall N/A row rows N/A N/A tablename N/A row N/A 0 N/A N/A N/A N/A N/A self do_sql txn N/A SELECT count(*) FROM %s; tablename N/A count N/A N/A txn fetchall N/A N/A N/A self update_table_stats tablename N/A N/A N/A N/A N/A count N/A 0 N/A 0 None N/A N/A N/A count N/A 0 N/A 0 0 N/A N/A count N/A 0 N/A 0 -1 N/A N/A N/A N/A N/A N/A logging info SqlConnections: Failed to get number of rows for table '%s': %s tablename N/A str e N/A N/A insert_connections_table N/A N/A self txn N/A N/A N/A  
        Adds a table (qasino_server_connections) to the database with per table info.
         N/A table N/A N/A qasino_table QasinoTable qasino_server_connections N/A N/A N/A table add_column identity varchar N/A N/A N/A table add_column nr_tables int N/A N/A N/A table add_column last_update_epoch int N/A N/A connection connection_data N/A N/A N/A self connections items N/A N/A N/A N/A table add_row N/A connection N/A str N/A len N/A connection_data N/A tables N/A connection_data N/A last_update_epoch N/A N/A N/A self add_table_data txn table N/A N/A Identity get_identity N/A add_views N/A N/A self txn views N/A N/A N/A 
        Add all views to the backend.  This should not take a long time.
         N/A N/A viewname viewdata N/A N/A views iteritems N/A N/A N/A N/A logging info SqlConnections: Adding view '%s' viewname N/A N/A N/A N/A N/A self do_sql txn N/A viewdata N/A view N/A N/A viewdata N/A loaded True N/A N/A viewdata N/A error N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging info SqlConnections: ERROR: Failed to add view '%s': %s viewname N/A str e N/A N/A viewdata N/A loaded False N/A N/A viewdata N/A error N/A str e N/A insert_views_table N/A N/A self txn views N/A N/A N/A  
        Adds a table (qasino_server_connections) to the database with per table info.
         N/A table N/A N/A qasino_table QasinoTable qasino_server_views N/A N/A N/A table add_column viewname varchar N/A N/A N/A table add_column loaded int N/A N/A N/A table add_column errormsg varchar N/A N/A N/A table add_column view varchar N/A N/A viewname viewdata N/A N/A views iteritems N/A N/A N/A N/A table add_row N/A viewname N/A str N/A int N/A viewdata N/A loaded N/A str N/A viewdata N/A error N/A viewdata N/A view N/A N/A N/A self add_table_data txn table N/A N/A Identity get_identity N/A update_table_stats N/A N/A self tablename nr_rows identity now sum N/A N/A N/A Identity get_identity N/A N/A time time False N/A N/A N/A tablename N/A self tables N/A N/A N/A N/A self tables N/A tablename N/A updates nr_rows last_update_epoch 1 nr_rows now N/A N/A sum N/A N/A N/A N/A N/A self tables N/A tablename N/A nr_rows nr_rows N/A N/A N/A N/A self tables N/A tablename N/A updates 1 N/A N/A N/A N/A self tables N/A tablename N/A last_update_epoch now N/A N/A identity N/A self connections N/A N/A N/A N/A self connections N/A identity N/A tables last_update_epoch N/A tablename nr_rows now N/A N/A N/A N/A N/A self connections N/A identity N/A last_update_epoch now N/A N/A sum N/A tablename N/A N/A N/A self connections N/A identity N/A tables N/A N/A N/A N/A N/A N/A self connections N/A identity N/A tables N/A tablename nr_rows N/A N/A N/A N/A N/A N/A self connections N/A identity N/A tables N/A tablename nr_rows N/A async_add_table_data N/A N/A self N/A args kwargs N/A N/A 
        Initiate a adbapi async interaction to add a table to the backend, returns the deferred obj.
         N/A N/A N/A N/A self writer_dbpool runInteraction N/A self add_table_data args kwargs N/A add_table_data N/A N/A self txn table identity N/A N/A N/A  
        Add a table to the backend if it doesn't exist and insert the data.
        This is executed using adbapi in a thread pool.
         N/A start_time N/A N/A time time N/A N/A N/A table init_retry 5 N/A tablename N/A N/A table get_tablename N/A N/A tablename None N/A N/A N/A N/A logging info SqlConnections: Unknown tablename from '%s' identity N/A N/A update N/A N/A table get_property update N/A static N/A N/A table get_property static N/A persist N/A N/A table get_property persist N/A N/A N/A N/A self data_manager check_save_table table identity N/A N/A N/A N/A N/A update N/A static N/A N/A N/A N/A N/A self connections N/A identity N/A tables N/A tablename 0 N/A N/A N/A N/A logging info SqlConnections: '%s' has already sent an update or is persisted for table '%s' identity tablename N/A N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A N/A txn execute BEGIN; N/A create_sql N/A CREATE TABLE IF NOT EXISTS '%s' ( 
 tablename N/A columns N/A N/A N/A column_name column_type N/A N/A table zip_columns N/A N/A N/A N/A columns append N/A '%s' %s DEFAULT NULL N/A column_name column_type N/A create_sql N/A N/A ,
 join columns N/A create_sql ) N/A N/A N/A result N/A N/A self do_sql txn create_sql N/A N/A N/A Exception N/A e N/A N/A errorstr N/A str e N/A N/A already exists errorstr N/A N/A N/A CreateTableException N/A Create table race condition '%s' for %s: '%s' N/A tablename identity errorstr N/A N/A e N/A schema N/A N/A self get_schema txn tablename N/A N/A N/A N/A N/A self data_manager table_merger merge_table txn table schema self N/A static N/A N/A N/A N/A txn execute N/A DELETE FROM '%s'; tablename N/A rowcount N/A N/A self do_insert_table txn table N/A N/A update N/A N/A rowcount N/A N/A self do_update_table txn table identity N/A N/A rowcount N/A N/A self do_insert_table txn table N/A N/A N/A txn execute COMMIT; N/A N/A N/A N/A apsw BusyError N/A e N/A N/A N/A N/A logging info SqlConnections: Warning: Lock contention for adding table '%s': %s for %s tablename N/A str e identity N/A N/A N/A N/A N/A txn execute ROLLBACK; N/A N/A N/A N/A N/A N/A N/A table test_retry N/A N/A N/A N/A logging info SqlConnections: ERROR: Retries failed for table '%s' tablename N/A 0 N/A N/A N/A self async_add_table_data table identity N/A 0 N/A N/A CreateTableException N/A e N/A N/A N/A N/A N/A N/A txn execute ROLLBACK; N/A N/A N/A N/A N/A N/A N/A table test_retry N/A N/A N/A N/A logging info SqlConnections: ERROR: Retries failed for table '%s' tablename N/A 0 N/A N/A N/A self async_add_table_data table identity N/A 0 N/A N/A Exception N/A e N/A N/A N/A N/A logging info SqlConnections: ERROR: Failed to add table '%s': %s tablename e N/A N/A N/A N/A N/A txn execute ROLLBACK; N/A N/A N/A N/A N/A 0 N/A now N/A N/A time time N/A nr_rows N/A N/A table get_nr_rows N/A properties_str N/A static N/A N/A properties_str  static N/A update N/A N/A properties_str  update N/A persist N/A N/A properties_str  persist N/A N/A N/A logging info SqlConnections: New data%s for table '%s' %d rows from '%s' (%.02f seconds) properties_str tablename rowcount identity N/A now start_time N/A N/A N/A self update_table_stats tablename rowcount identity identity sum N/A N/A update N/A static now now N/A 1 N/A N/A