Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Global identifier If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpAdd Str NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Num If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Print NameLoad Expr Call NameLoad Str NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Global identifier Global identifier If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpAdd BinOpAdd NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad keyword Str keyword Num TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad keyword Str keyword Num If BoolOpOr CompareIs NameLoad NameLoad CompareEq Call NameLoad NameLoad Num body Expr Call NameLoad keyword Str keyword Num Expr Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad keyword SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call NameLoad keyword Call AttributeLoad NameLoad attr Num keyword Num orelse Expr Call NameLoad keyword Str keyword Num ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad keyword Str keyword Num Expr Call AttributeLoad NameLoad attr Num
N/A N/A sys N/A json N/A psycopg2 N/A psycopg2.extras N/A re N/A datetime N/A os N/A pg_connect_str dbname=bankapi N/A pg_conn None N/A debug_incoming_data False N/A debug_path /tmp/bankapi respond N/A N/A result error httperrorcode N/A None None None N/A N/A pg_conn N/A N/A result None N/A N/A data N/A Status: 200 OK
Content-Type: text/plain

 result N/A N/A N/A httperrorcode None N/A N/A httperrorcode 500 N/A N/A error None N/A N/A error Unknown error N/A data N/A Status: %s %s
 N/A httperrorcode error N/A data N/A N/A debug_request out data N/A N/A pg_conn None N/A N/A N/A N/A pg_conn close N/A N/A N/A sys exit 0 N/A error_log N/A N/A s N/A N/A N/A N/A N/A N/A sys stderr write N/A %s
 s N/A debug_request N/A N/A extension data N/A N/A N/A debug_incoming_data N/A debug_path N/A N/A debug_incoming_data True N/A N/A td N/A N/A N/A datetime datetime today N/A path N/A N/A debug_path / N/A N/A td strftime %Y%m%d N/A filename N/A N/A path / N/A N/A td isoformat N/A N/A N/A N/A N/A os path exists path N/A N/A N/A N/A os makedirs path N/A fh N/A open N/A N/A filename . extension w N/A N/A N/A fh write data N/A N/A N/A N/A pg_conn N/A N/A psycopg2 connect pg_connect_str N/A N/A N/A N/A psycopg2 Error N/A e N/A N/A N/A error_log N/A Failed to connect to database: error=%s, code=%s N/A N/A e pgerror N/A e pgcode N/A N/A respond error Failed to connect to database httperrorcode 500 N/A N/A N/A indata N/A N/A N/A N/A N/A sys stdin read strip N/A N/A N/A Exception N/A e N/A N/A N/A respond error Failed to decode input data httperrorcode 400 N/A N/A N/A indata None N/A N/A len indata 0 N/A N/A N/A respond error No data httperrorcode 400 N/A N/A debug_request in indata N/A cur N/A N/A pg_conn cursor cursor_factory N/A N/A psycopg2 extras DictCursor N/A sqldata None N/A N/A N/A N/A N/A cur execute SELECT DeliveryReceipt FROM receive_message(%s) N/A indata N/A sqldata N/A N/A cur fetchone N/A N/A N/A pg_conn commit N/A N/A respond result N/A sqldata N/A deliveryreceipt N/A N/A N/A N/A psycopg2 InternalError N/A e N/A N/A N/A N/A pg_conn rollback N/A N/A error_log N/A Call to Receive_Message failed: error=%s, code=%s N/A N/A e pgerror N/A e pgcode N/A mg N/A N/A re match ERROR:\s+(ERROR_\S+) N/A e pgerror N/A N/A mg None N/A N/A N/A respond error N/A N/A mg group 1 httperrorcode 500 N/A N/A N/A respond error Receieve processing failed httperrorcode 500 N/A N/A N/A psycopg2 ProgrammingError N/A e N/A N/A N/A error_log N/A Call to Receive_Message failed with ProgrammingError: error=%s, code=%s N/A N/A e pgerror N/A e pgcode N/A N/A N/A pg_conn rollback N/A N/A respond error Recieve processing failed httperrorcode 500 N/A N/A N/A sys exit 0