Module Import alias identifier Import alias Import alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str Expr Str ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Raise Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad orelse Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr If CompareEq Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body AugAssignAdd NameStore Str TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad orelse Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body AugAssignAdd NameStore Str TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad orelse Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr If CompareEq Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr Call NameLoad Lambda arguments args NameParam defaults Str NameLoad Assign NameStore BinOpMod NameLoad NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad While NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler body Break If CompareIsNot NameLoad NameLoad body Expr Yield NameLoad orelse Return finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr Call NameLoad Lambda arguments args NameParam defaults Str NameLoad Assign NameStore BinOpMod NameLoad NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad While NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler body Break If CompareIsNot NameLoad NameLoad body Expr Yield NameLoad orelse Return finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad orelse Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad orelse Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body AugAssignAdd NameStore Str TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return ListLoad orelse Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise ExceptHandler body Expr Call AttributeLoad NameLoad attr Str finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Raise finalbody If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return ListLoad orelse Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Raise If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Raise orelse Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Raise If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A numpy np N/A cStringIO N/A zlib N/A MySQLdb N/A re collections defaultdict N/A itertools ocptype OLDCHANNEL N/A logging N/A logger N/A N/A logging getLogger ocp N/A Helpers function to do cube I/O in across multiple DBs.
    This uses the state and methods of ocpcadb MySQLKVIO N/A N/A __init__ N/A N/A self db N/A N/A N/A Connect to the database N/A N/A self db db N/A N/A self conn None N/A N/A N/A N/A self conn N/A N/A MySQLdb connect host N/A N/A N/A N/A self db proj getDBHost user N/A N/A N/A N/A self db proj getDBUser passwd N/A N/A N/A N/A self db proj getDBPasswd db N/A N/A N/A N/A self db proj getDBName N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A self conn None N/A N/A N/A logger error N/A N/A Failed to connect to database: {}, {} format N/A N/A N/A N/A self db proj getDBHost N/A N/A N/A N/A self db proj getDBName N/A N/A N/A self txncursor None N/A close N/A N/A self N/A N/A N/A Close the connection N/A N/A self conn N/A N/A N/A N/A N/A self conn close N/A startTxn N/A N/A self N/A N/A N/A Start a transaction.  Ensure database is in multi-statement mode. N/A N/A self txncursor N/A N/A N/A self conn cursor N/A sql START TRANSACTION N/A N/A N/A N/A self txncursor execute sql N/A commit N/A N/A self N/A N/A N/A Commit the transaction.  Moved out of del to make explicit. N/A N/A self txncursor N/A N/A N/A N/A N/A self conn commit N/A N/A N/A N/A self txncursor close N/A N/A self txncursor None N/A rollback N/A N/A self N/A N/A N/A Rollback the transaction.  To be called on exceptions. N/A N/A self txncursor N/A N/A N/A N/A N/A self conn rollback N/A N/A N/A N/A self txncursor close N/A N/A self txncursor None N/A getChannelId N/A N/A self ch N/A N/A N/A Retrieve the channel id for the oldchannel database N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A sql SELECT chanid from channels where chanstr=%s N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A N/A N/A ch getChannelName N/A row N/A N/A cursor fetchone N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A N/A Failed to retrieve data cube: {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A row None N/A N/A None N/A N/A N/A row N/A 0 N/A getCube N/A N/A self ch zidx resolution update N/A False N/A N/A Retrieve a cube from the database by token, resolution, and zidx N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A N/A N/A N/A ch getChannelType OLDCHANNEL N/A N/A channel_id N/A N/A self getChannelId ch N/A sql N/A N/A SELECT cube FROM {} WHERE (channel,zindex) = ({},{}) format N/A N/A ch getTable resolution channel_id zidx N/A N/A sql N/A N/A SELECT cube FROM {} WHERE zindex={} format N/A N/A ch getTable resolution zidx N/A update N/A N/A sql  FOR UPDATE N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A row N/A N/A cursor fetchone N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A N/A Failed to retrieve data cube: {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A row None N/A N/A None N/A N/A N/A row N/A 0 N/A getTimeCube N/A N/A self ch zidx timestamp resolution update N/A False N/A N/A Retrieve a cube from the TimeSeries database by token, resolution, timestamp and zidx N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A sql N/A N/A SELECT cube FROM {} WHERE (zindex,timestamp) = ({},{}) format N/A N/A ch getTable resolution zidx timestamp N/A update N/A N/A sql  FOR UPDATE N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A row N/A N/A cursor fetchone N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A N/A Failed to retrieve data cube: {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A row None N/A N/A None N/A N/A N/A row N/A 0 N/A getCubes N/A N/A self ch listofidxs resolution neariso N/A False N/A N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A N/A N/A N/A ch getChannelType OLDCHANNEL N/A N/A channel_id N/A N/A self getChannelId ch N/A sql N/A N/A SELECT zindex,cube FROM {} where channel={} and zindex in (%s) format N/A N/A ch getTable resolution channel_id N/A N/A neariso N/A N/A sql N/A N/A SELECT zindex, cube FROM {} WHERE zindex in (%s) format N/A N/A ch getNearIsoTable resolution N/A N/A sql N/A N/A SELECT zindex, cube FROM {} WHERE zindex in (%s) format N/A N/A ch getTable resolution N/A in_p N/A N/A ,  join N/A map N/A N/A N/A x N/A %s listofidxs N/A sql N/A sql in_p N/A N/A N/A rc N/A N/A cursor execute sql listofidxs N/A True N/A N/A N/A N/A retval N/A N/A cursor fetchone N/A N/A N/A N/A N/A N/A retval None N/A N/A N/A retval N/A N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A getTimeCubes N/A N/A self ch idx listoftimestamps resolution N/A N/A N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A sql N/A N/A SELECT zindex,timestamp,cube FROM {} WHERE zindex={} and timestamp in (%s) format N/A N/A ch getTable resolution idx N/A in_p N/A N/A ,  join N/A map N/A N/A N/A x N/A %s listoftimestamps N/A sql N/A sql in_p N/A N/A N/A rc N/A N/A cursor execute sql listoftimestamps N/A True N/A N/A N/A N/A retval N/A N/A cursor fetchone N/A N/A N/A N/A N/A N/A retval None N/A N/A N/A retval N/A N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A putCubes N/A N/A self ch listofidxs resolution listofcubes update N/A False N/A N/A Store multiple cubes into the database N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A sql N/A N/A REPLACE INTO {} (zindex,cube) VALUES (%s,%s) format N/A N/A ch getTable resolution N/A N/A N/A N/A N/A N/A N/A cursor executemany sql N/A zip listofidxs listofcubes N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A N/A Error inserting cube: {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A putCube N/A N/A self ch zidx resolution cubestr update N/A False N/A N/A Store a cube from the annotation database N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A N/A update N/A N/A sql N/A N/A INSERT INTO {} (zindex, cube) VALUES (%s, %s) format N/A N/A ch getTable resolution N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A zidx cubestr N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A N/A Error inserting cube: {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A sql N/A N/A UPDATE {} SET cube=(%s) WHERE zindex={} format N/A N/A ch getTable resolution zidx N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A cubestr N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A N/A Error updating data cube: {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A N/A self txncursor None N/A N/A N/A N/A N/A self conn commit N/A putTimeCube N/A N/A self ch zidx timestamp resolution cubestr update N/A False N/A N/A Store a cube from the timeseries database N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A N/A update N/A N/A sql N/A N/A INSERT INTO {} (zindex, timestamp, cube) VALUES (%s, %s, %s) format N/A N/A ch getTable resolution N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A zidx timestamp cubestr N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A N/A Error inserting cube: {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A sql N/A N/A UPDATE {} SET cube=(%s) WHERE (zindex,timestamp)=({},{}) format N/A N/A ch getTable resolution zidx timestamp N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A cubestr N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A N/A Error updating data cube: {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A N/A self txncursor None N/A N/A N/A N/A N/A self conn commit N/A getAnnotationType N/A N/A self ch annid N/A N/A N/A MySQL fetch index routine N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A sql N/A N/A SELECT type FROM {} where annoid = {} format N/A N/A ch getAnnoTable annotation annid N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A row N/A N/A cursor fetchone N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger warning N/A N/A Error reading Id: {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A BaseException N/A e N/A N/A N/A N/A logger exception Unknown exception N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A row None N/A N/A None N/A N/A N/A row N/A 0 N/A getAnnotation N/A N/A self ch annid anno_type N/A annotation N/A N/A MySQL fetch index routine N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A sql N/A N/A SELECT * FROM {} where annoid = {} format N/A N/A ch getAnnoTable anno_type annid N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A row N/A N/A cursor fetchone N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger warning N/A N/A Error reading Id: {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A BaseException N/A e N/A N/A N/A N/A logger exception Unknown exception N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A row None N/A N/A None N/A N/A N/A row N/A 0 N/A getIndex N/A N/A self ch annid resolution update N/A N/A N/A MySQL fetch index routine N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A sql N/A N/A SELECT cube FROM {} WHERE annid = {} format N/A N/A ch getIdxTable resolution annid N/A update N/A N/A sql  FOR UPDATE N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A row N/A N/A cursor fetchone N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger warning N/A N/A Failed to retrieve cube {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A BaseException N/A e N/A N/A N/A N/A logger exception Unknown exception N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A row None N/A N/A N/A N/A N/A N/A row N/A 0 N/A putIndex N/A N/A self ch zidx resolution indexstr update N/A N/A N/A MySQL put index routine N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A N/A update N/A N/A sql N/A N/A INSERT INTO {} ( annid, cube) VALUES ( %s, %s ) format N/A N/A ch getIdxTable resolution N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A zidx indexstr N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger warning N/A N/A Error updating index {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A BaseException N/A e N/A N/A N/A N/A logger exception Unknown error when updating index N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A sql N/A N/A UPDATE {} SET cube=(%s) WHERE annid={} format N/A N/A ch getIdxTable resolution zidx N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A indexstr N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger warning N/A N/A Error updating exceptions {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A N/A logger exception Unknown exception N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A N/A self txncursor None N/A N/A N/A N/A N/A self conn commit N/A deleteIndex N/A N/A self ch annid resolution N/A N/A N/A MySQL update index routine N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A sql N/A N/A DELETE FROM {} WHERE annid={} format N/A N/A ch getIdxTable resolution annid N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A N/A Error deleting the index {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A N/A logger exception Unknown exception N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A N/A self txncursor None N/A N/A N/A N/A N/A self conn commit N/A getExceptions N/A N/A self ch zidx resolution annid N/A N/A N/A Load a the list of excpetions for this cube. N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A sql N/A N/A SELECT exlist FROM {} where zindex={} AND id={} format N/A N/A ch getExceptionsTable resolution zidx annid N/A N/A N/A N/A N/A N/A N/A cursor execute sql N/A row N/A N/A cursor fetchone N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A N/A Error reading exceptions {}: {}. sql={} format N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A row None N/A N/A N/A N/A N/A N/A row N/A 0 N/A deleteExceptions N/A N/A self ch zidx resolution annid N/A N/A N/A Delete a list of exceptions for this cuboid N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A sql N/A N/A DELETE FROM {} WHERE zindex ={} AND id ={} format N/A N/A ch getExceptionsTable resolution zidx annid N/A N/A N/A N/A N/A cursor execute sql N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A Error deleting exceptions %d: %s. sql=%s N/A N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A N/A self conn commit N/A N/A N/A cursor close N/A putExceptions N/A N/A self ch zidx resolution annid excstr update N/A False N/A N/A Store a list of exceptions N/A This should be done in a transaction N/A N/A N/A self txncursor None N/A N/A cursor N/A N/A N/A self conn cursor N/A N/A cursor N/A self txncursor N/A N/A update N/A N/A sql N/A N/A INSERT INTO {} (zindex, id, exlist) VALUES (%s, %s, %s) format N/A N/A ch getExceptionsTable resolution N/A N/A N/A N/A N/A cursor execute sql N/A zidx annid excstr N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A Error inserting exceptions %d: %s. sql=%s N/A N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A N/A sql N/A N/A UPDATE {} SET exlist=(%s) WHERE zindex=%s AND id=%s format N/A N/A ch getExceptionsTable resolution N/A N/A N/A N/A N/A cursor execute sql N/A N/A N/A zlib compress excstr zidx annid N/A N/A N/A N/A MySQLdb Error N/A e N/A N/A N/A N/A logger error N/A Error updating exceptions %d: %s. sql=%s N/A N/A N/A e args N/A 0 N/A N/A e args N/A 1 sql N/A N/A N/A self txncursor None N/A N/A N/A N/A cursor close N/A N/A N/A N/A self txncursor None N/A N/A N/A N/A N/A self conn commit N/A N/A N/A cursor close N/A N/A