Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore BinOpMod NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore BinOpMod NameLoad NameLoad Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse Expr Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore BinOpMod NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr BinOpAdd Str BinOpMod NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Num orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpAdd Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpAdd Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse Expr Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpAdd BinOpAdd Str Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpAdd Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpAdd BinOpAdd Str Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list Return NameLoad decorator_list decorator_list Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str NameLoad BinOpMod Str TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword TupleLoad AttributeLoad NameLoad attr keyword Dict Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body TryExcept body If Call NameLoad NameLoad Str body If CompareIn Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Return Call AttributeLoad NameLoad attr keyword NameLoad orelse Return Call AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Return Call AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Return Call AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str Str ListLoad ListLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad ListLoad Str Str Str Str Str Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad TupleLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Expr Yield orelse Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Yield handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Raise Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list NameLoad
N/A __future__ print_function N/A json N/A logging N/A re N/A requests N/A sys N/A threading N/A time N/A traceback contextlib contextmanager bayeslite.version __version__ BqlLogger N/A object N/A N/A A logger object for BQL.

     The idea of having a custom one is to make it easy to adapt to other
     loggers, like python's builtin one (see LoggingLogger below) or for
     testing, or to set preferences (see DebugLogger, QuietLogger,
     SilentLogger below).

     Loggers should implement functions with the signatures of this base class.
     They are welcome to inherit from it.  Do not depend on return values from
     any of these methods.
   info N/A N/A self msg_format N/A values N/A N/A For progress and other informative messages. N/A N/A N/A len values 0 N/A N/A msg_format N/A msg_format values N/A N/A print msg_format N/A warn N/A N/A self msg_format N/A values N/A N/A For warnings or non-fatal errors. N/A N/A N/A len values 0 N/A N/A msg_format N/A msg_format values N/A N/A print msg_format file N/A sys stderr N/A plot N/A N/A self _suggested_name figure N/A N/A N/A For plotting.

    Name : str
      A filename fragment or window title, not intended to be part of the
      figure, not intended to be a fully qualified path, but of course if
      you know more about the particular logger handling your case, then
      use as you will.
    Figure : a matplotlib object
      on which .show or .savefig might be called.
     N/A N/A hasattr figure show N/A N/A N/A N/A figure show N/A N/A N/A print N/A repr figure N/A result N/A N/A self msg_format N/A values N/A N/A For formatted text results. In unix, this would be stdout. N/A N/A N/A len values 0 N/A N/A msg_format N/A msg_format values N/A N/A print msg_format N/A debug N/A N/A self _msg_format N/A _values N/A N/A For debugging information. N/A N/A exception N/A N/A self msg_format N/A values N/A N/A For fatal or fatal-if-uncaught errors. N/A N/A N/A self warn N/A ERROR:  msg_format values N/A N/A exc_type exc_value exc_traceback N/A N/A sys exc_info N/A exc_type N/A N/A lines N/A N/A traceback format_exception exc_type exc_value exc_traceback N/A N/A N/A self warn N/A N/A join lines N/A format_escape N/A N/A str N/A N/A N/A str N/A N/A re sub %([^\(]) %%\1 str N/A str N/A N/A re sub %$ %% str N/A str N/A classmethod N/A DebugLogger N/A BqlLogger N/A debug N/A N/A self msg_format N/A values N/A N/A N/A N/A self warn N/A DEBUG:  N/A msg_format values N/A N/A exc_type exc_value exc_traceback N/A N/A sys exc_info N/A exc_type N/A N/A lines N/A N/A traceback format_exception exc_type exc_value exc_traceback N/A N/A N/A self warn N/A N/A join lines N/A N/A QuietLogger N/A BqlLogger N/A info N/A N/A self _msg_format N/A _values N/A N/A N/A plot N/A N/A self _suggested_name _figure N/A N/A N/A N/A warn N/A N/A self _msg_format N/A _values N/A N/A N/A N/A SilentLogger N/A QuietLogger N/A plot N/A N/A self _suggested_name _figure N/A N/A N/A N/A result N/A N/A self _msg N/A _values N/A N/A N/A debug N/A N/A self _msg N/A _values N/A N/A N/A exception N/A N/A self _msg N/A _values N/A N/A N/A N/A LoggingLogger N/A BqlLogger N/A info N/A N/A self msg_format N/A values N/A N/A N/A N/A logging info msg_format values N/A warn N/A N/A self msg_format N/A values N/A N/A N/A N/A logging warning msg_format file N/A sys stderr values N/A plot N/A N/A self suggested_name figure N/A N/A N/A N/A N/A figure savefig N/A suggested_name .png N/A debug N/A N/A self N/A args kwargs N/A N/A N/A N/A logging debug args kwargs N/A exception N/A N/A self N/A args kwargs N/A N/A N/A N/A logging exception args kwargs N/A N/A CaptureLogger N/A BqlLogger N/A N/A Produces no output, but captures call details in .calls __init__ N/A N/A self verbose N/A False N/A N/A N/A self calls N/A N/A N/A self _verbose verbose N/A N/A self _next_capturelogger_results N/A N/A set_next_capturelogger_results N/A N/A self results N/A N/A N/A Returns results.pop(0) from each call or getattr, or None if empty. N/A N/A self _next_capturelogger_results results N/A next_capturelogger_result N/A N/A self N/A N/A N/A N/A self _next_capturelogger_results N/A N/A N/A N/A N/A self _next_capturelogger_results pop 0 N/A N/A None N/A info N/A N/A self msg_format N/A values N/A N/A N/A self _verbose N/A N/A N/A print N/A INFO:  msg_format values N/A N/A N/A N/A self calls append N/A info msg_format values N/A warn N/A N/A self msg_format N/A values N/A N/A N/A self _verbose N/A N/A N/A print N/A WARN:  msg_format values N/A N/A N/A N/A self calls append N/A warn msg_format values N/A plot N/A N/A self suggested_name figure N/A N/A N/A N/A self _verbose N/A N/A N/A hasattr figure show N/A N/A N/A N/A figure show N/A N/A N/A print N/A repr figure N/A N/A N/A N/A self calls append N/A plot suggested_name figure N/A debug N/A N/A self N/A args kwargs N/A N/A N/A self _verbose N/A N/A N/A print N/A N/A DEBUG:  N/A repr args N/A repr kwargs N/A N/A N/A N/A self calls append N/A debug args kwargs N/A exception N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self calls append N/A exception args kwargs N/A N/A sys exc_info N/A result N/A N/A self msg_format N/A values N/A N/A N/A self _verbose N/A N/A N/A print N/A RSLT:  msg_format values N/A N/A N/A N/A self calls append N/A result msg_format values N/A __call__ N/A N/A self N/A args kwargs N/A N/A N/A self _verbose N/A N/A N/A print N/A N/A CALL:  N/A repr args N/A repr kwargs N/A N/A N/A N/A self calls append N/A call args kwargs N/A N/A N/A self next_capturelogger_result N/A __getattr__ N/A N/A self name N/A N/A _capture N/A N/A N/A args kwargs N/A N/A N/A N/A N/A self calls append N/A name args kwargs N/A N/A N/A self next_capturelogger_result N/A N/A _capture N/A N/A N/A PROBCOMP_URL https://projects.csail.mit.edu/probcomp/bayesdb/save_sessions.cgi CallHomeStatusLogger N/A BqlLogger N/A __init__ N/A N/A self url post N/A PROBCOMP_URL None N/A N/A N/A post None N/A N/A post N/A requests post N/A N/A self _post post N/A N/A self _url url N/A info N/A N/A self json_msg N/A unused_values N/A N/A N/A N/A self _send json_msg N/A warn N/A N/A self json_msg N/A unused_values N/A N/A N/A N/A self _send json_msg N/A _send N/A N/A self json_string N/A N/A N/A data N/A session_json User-Agent json_string N/A bdbcontrib %s N/A __version__ N/A t N/A N/A threading Thread target N/A self _post args N/A N/A self _url kwargs N/A data data N/A N/A N/A t start N/A N/A NpPdEncoder N/A N/A json JSONEncoder N/A default N/A N/A self obj N/A N/A N/A N/A N/A N/A hasattr obj to_json N/A N/A N/A default_handler N/A N/A N/A obj to_json __code__ co_varnames N/A N/A N/A N/A obj to_json default_handler NpPdEncoder N/A N/A N/A N/A obj to_json N/A N/A hasattr obj toJSON N/A N/A N/A N/A obj toJSON N/A N/A hasattr obj to_dict N/A N/A N/A N/A obj to_dict N/A N/A isinstance obj complex N/A N/A N/A mathjs re im Complex N/A x real N/A x imag N/A N/A N/A N/A json JSONEncoder default self obj N/A N/A N/A Exception N/A e N/A N/A N/A repr e N/A N/A query_info_to_json N/A N/A session_id logtype query bindings start_time error end_time N/A N/A N/A session N/A entries fields version N/A N/A session_id logtype N/A query bindings start_time error end_time N/A session_id type data start_time error end_time __version__ N/A N/A N/A json dumps session cls NpPdEncoder N/A logged_query N/A N/A query_string bindings name logger N/A None N/A None None N/A N/A N/A query_string None N/A N/A query_string N/A N/A logger None N/A N/A logger N/A CallHomeStatusLogger N/A N/A N/A name None N/A name False N/A N/A N/A N/A N/A start_time N/A N/A time time N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A logger warn N/A query_info_to_json name logged_query query_string bindings start_time N/A N/A traceback format_exc N/A N/A time time N/A N/A N/A N/A logger info N/A query_info_to_json name logged_query query_string bindings start_time None N/A N/A time time N/A contextmanager