Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Return Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults Num body Expr Str If CompareGtE NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGtE NameLoad Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareGtE NameLoad Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num Num NameLoad NameLoad NameLoad NameLoad NameLoad Num Num NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Dict Str Str Str Str NameLoad NameLoad Dict NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad kwarg body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults kwarg body If CompareNotIn Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults kwarg body If CompareNotIn Str AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults kwarg body If CompareNotIn Str AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults kwarg body If CompareNotIn Str AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Num orelse Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Num decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Expr Call NameLoad NameLoad If NameLoad body Expr Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str If CompareIsNot NameLoad NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str orelse Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd CompareNotIn Str Call AttributeLoad NameLoad attr CompareNotIn Str Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return CompareIsNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Num NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad For NameStore NameLoad body TryExcept body Return Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpSub NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad orelse If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Dict Str Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias Import alias Import alias Assign NameStore Call NameLoad ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr TryExcept body Assign NameStore Call NameLoad ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad For TupleStore NameStore TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad body For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Break orelse For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Break If NameLoad body Break If NameLoad body Assign NameStore Call AttributeLoad Str attr GeneratorExp BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore SubscriptLoad NameLoad Slice BinOpSub NameLoad Num NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad decorator_list
N/A N/A Core SQLAlchemy connectivity routines.
 N/A itertools N/A logging N/A os N/A re N/A time N/A six N/A sqlalchemy sqlalchemy event sqlalchemy exc sqlalchemy pool sqlalchemy.sql.expression select oslo_db._i18n _LW oslo_db exception oslo_db.sqlalchemy exc_filters oslo_db.sqlalchemy utils N/A LOG N/A N/A logging getLogger __name__ _thread_yield N/A N/A dbapi_con con_record N/A N/A N/A Ensure other greenthreads get a chance to be executed.

    If we use eventlet.monkey_patch(), eventlet.greenthread.sleep(0) will
    execute instead of time.sleep(0).
    Force a context switch. With common database backends (eg MySQLdb and
    sqlite), there is no implicit yield caused by network I/O since they are
    implemented by C libraries that eventlet cannot monkey patch.
     N/A N/A N/A time sleep 0 N/A _connect_ping_listener N/A N/A connection branch N/A N/A N/A Ping the server at connection startup.

    Ping the server at transaction begin and transparently reconnect
    if a disconnect exception occurs.
     N/A branch N/A N/A N/A save_should_close_with_result N/A connection should_close_with_result N/A N/A connection should_close_with_result False N/A N/A N/A N/A N/A N/A N/A connection scalar N/A select N/A 1 N/A N/A N/A N/A exception DBConnectionError N/A N/A N/A N/A connection scalar N/A select N/A 1 N/A N/A N/A connection should_close_with_result save_should_close_with_result N/A _setup_logging N/A N/A connection_debug N/A 0 N/A N/A setup_logging function maps SQL debug level to Python log level.

    Connection_debug is a verbosity of SQL debugging information.
    0=None(default value),
    1=Processed only messages with WARNING level or higher
    50=Processed only messages with INFO level or higher
    100=Processed only messages with DEBUG level
     N/A N/A connection_debug 0 N/A N/A logger N/A N/A logging getLogger sqlalchemy.engine N/A N/A connection_debug 100 N/A N/A N/A N/A logger setLevel N/A logging DEBUG N/A N/A N/A connection_debug 50 N/A N/A N/A N/A logger setLevel N/A logging INFO N/A N/A N/A N/A logger setLevel N/A logging WARNING N/A create_engine N/A N/A sql_connection sqlite_fk mysql_sql_mode idle_timeout connection_debug max_pool_size max_overflow pool_timeout sqlite_synchronous connection_trace max_retries retry_interval thread_checkin logging_name N/A False None 3600 0 None None None True False 10 10 True None N/A N/A Return a new SQLAlchemy engine. N/A url N/A N/A N/A N/A sqlalchemy engine url make_url sql_connection N/A engine_args N/A pool_recycle convert_unicode connect_args logging_name idle_timeout True N/A logging_name N/A N/A _setup_logging connection_debug N/A N/A _init_connection_args url engine_args sqlite_fk sqlite_fk max_pool_size max_pool_size max_overflow max_overflow pool_timeout pool_timeout N/A engine N/A N/A sqlalchemy create_engine url engine_args N/A N/A _init_events engine mysql_sql_mode mysql_sql_mode sqlite_synchronous sqlite_synchronous sqlite_fk sqlite_fk thread_checkin thread_checkin connection_trace connection_trace N/A N/A N/A exc_filters register_engine engine N/A N/A N/A event listen engine engine_connect _connect_ping_listener N/A max_retries N/A N/A test_conn N/A _test_connection engine max_retries retry_interval N/A N/A N/A test_conn close N/A engine N/A _init_connection_args N/A N/A url engine_args max_pool_size max_overflow pool_timeout N/A None None None kw N/A N/A pool_class N/A N/A N/A N/A url get_dialect get_pool_class url N/A N/A issubclass pool_class N/A pool QueuePool N/A N/A N/A max_pool_size None N/A N/A N/A engine_args N/A pool_size max_pool_size N/A N/A max_overflow None N/A N/A N/A engine_args N/A max_overflow max_overflow N/A N/A pool_timeout None N/A N/A N/A engine_args N/A pool_timeout pool_timeout N/A N/A N/A utils dispatch_for_dialect * multiple True _init_connection_args N/A N/A url engine_args N/A kw N/A N/A pool_class N/A N/A N/A N/A url get_dialect get_pool_class url N/A N/A issubclass pool_class N/A pool SingletonThreadPool N/A N/A N/A engine_args N/A poolclass N/A pool StaticPool N/A N/A N/A engine_args N/A connect_args N/A check_same_thread False N/A N/A N/A _init_connection_args dispatch_for sqlite _init_connection_args N/A N/A url engine_args N/A kw N/A N/A N/A client_encoding N/A url query N/A N/A N/A engine_args N/A client_encoding utf8 N/A N/A N/A _init_connection_args dispatch_for postgresql _init_connection_args N/A N/A url engine_args N/A kw N/A N/A N/A charset N/A url query N/A N/A N/A N/A engine_args N/A connect_args N/A charset utf8 N/A N/A N/A _init_connection_args dispatch_for mysql _init_connection_args N/A N/A url engine_args N/A kw N/A N/A N/A raise_on_warnings N/A url query N/A N/A N/A N/A engine_args N/A connect_args N/A raise_on_warnings False N/A N/A N/A _init_connection_args dispatch_for mysql+mysqlconnector _init_connection_args N/A N/A url engine_args N/A kw N/A N/A N/A use_unicode N/A url query N/A N/A N/A six PY3 N/A N/A N/A N/A engine_args N/A connect_args N/A use_unicode 1 N/A N/A N/A N/A engine_args N/A connect_args N/A use_unicode 0 N/A N/A N/A _init_connection_args dispatch_for mysql+mysqldb N/A N/A _init_connection_args dispatch_for mysql+oursql _init_events N/A N/A engine thread_checkin connection_trace N/A True False kw N/A N/A Set up event listeners for all database backends. N/A N/A _add_process_guards engine N/A connection_trace N/A N/A N/A _add_trace_comments engine N/A thread_checkin N/A N/A N/A N/A N/A sqlalchemy event listen engine checkin _thread_yield N/A N/A N/A utils dispatch_for_dialect * multiple True _init_events N/A N/A engine mysql_sql_mode N/A None kw N/A N/A Set up event listeners for MySQL. N/A N/A mysql_sql_mode None N/A _set_session_sql_mode N/A N/A dbapi_con connection_rec N/A N/A N/A cursor N/A N/A dbapi_con cursor N/A N/A N/A cursor execute SET SESSION sql_mode = %s N/A mysql_sql_mode N/A N/A N/A N/A sqlalchemy event listens_for engine connect _check_effective_sql_mode N/A N/A dbapi_con connection_rec N/A N/A N/A N/A mysql_sql_mode None N/A N/A N/A _set_session_sql_mode dbapi_con connection_rec N/A cursor N/A N/A dbapi_con cursor N/A N/A N/A cursor execute SHOW VARIABLES LIKE 'sql_mode' N/A realmode N/A N/A cursor fetchone N/A N/A realmode None N/A N/A N/A N/A LOG warning N/A _LW Unable to detect effective SQL mode N/A N/A realmode N/A realmode N/A 1 N/A N/A N/A LOG debug MySQL server mode set to %s realmode N/A N/A N/A TRADITIONAL N/A N/A realmode upper N/A STRICT_ALL_TABLES N/A N/A realmode upper N/A N/A N/A N/A LOG warning N/A _LW MySQL SQL mode is '%s', consider enabling TRADITIONAL or STRICT_ALL_TABLES realmode N/A N/A N/A N/A sqlalchemy event listens_for engine first_connect N/A N/A N/A _init_events dispatch_for mysql _init_events N/A N/A engine sqlite_synchronous sqlite_fk N/A True False kw N/A N/A Set up event listeners for SQLite.

    This includes several settings made on connections as they are
    created, as well as transactional control extensions.

     regexp N/A N/A expr item N/A N/A N/A reg N/A N/A re compile expr N/A N/A N/A N/A reg search N/A N/A six text_type item None N/A _sqlite_connect_events N/A N/A dbapi_con con_record N/A N/A N/A N/A N/A dbapi_con create_function regexp 2 regexp N/A N/A sqlite_synchronous N/A N/A N/A N/A dbapi_con execute PRAGMA synchronous = OFF N/A N/A dbapi_con isolation_level None N/A sqlite_fk N/A N/A N/A N/A dbapi_con execute pragma foreign_keys=ON N/A N/A N/A N/A sqlalchemy event listens_for engine connect _sqlite_emit_begin N/A N/A conn N/A N/A N/A N/A in_transaction N/A conn info N/A N/A N/A N/A conn execute BEGIN N/A N/A N/A conn info N/A in_transaction True N/A N/A N/A N/A sqlalchemy event listens_for engine begin _sqlite_end_transaction N/A N/A conn N/A N/A N/A N/A N/A N/A conn info pop in_transaction None N/A N/A N/A N/A sqlalchemy event listens_for engine rollback N/A N/A N/A sqlalchemy event listens_for engine commit N/A N/A N/A _init_events dispatch_for sqlite _test_connection N/A N/A engine max_retries retry_interval N/A N/A N/A N/A max_retries -1 N/A N/A attempts N/A N/A itertools count N/A N/A attempts N/A N/A N/A six moves range max_retries N/A de_ref None N/A attempt attempts N/A N/A N/A N/A N/A N/A engine connect N/A N/A N/A N/A exception DBConnectionError N/A de N/A N/A msg N/A _LW SQL connection failed. %s attempts left. N/A N/A N/A LOG warning msg N/A max_retries attempt N/A N/A N/A time sleep retry_interval N/A de_ref de N/A N/A N/A de_ref None N/A N/A N/A N/A six reraise N/A type de_ref de_ref N/A _add_process_guards N/A N/A engine N/A N/A N/A Add multiprocessing guards.

    Forces a connection to be reconnected if it is detected
    as having been shared to a sub-process.

     connect N/A N/A dbapi_connection connection_record N/A N/A N/A N/A N/A connection_record info N/A pid N/A N/A os getpid N/A N/A N/A N/A sqlalchemy event listens_for engine connect checkout N/A N/A dbapi_connection connection_record connection_proxy N/A N/A N/A pid N/A N/A os getpid N/A N/A N/A N/A connection_record info N/A pid pid N/A N/A N/A N/A LOG debug N/A _LW Parent process %(orig)s forked (%(newproc)s) with an open database connection, which is being discarded and recreated. N/A newproc orig pid N/A N/A connection_record info N/A pid N/A N/A connection_record connection N/A connection_proxy connection None N/A N/A N/A exc DisconnectionError N/A Connection record belongs to pid %s, attempting to check out in pid %s N/A N/A N/A connection_record info N/A pid pid N/A N/A N/A N/A sqlalchemy event listens_for engine checkout N/A _add_trace_comments N/A N/A engine N/A N/A N/A Add trace comments.

    Augment statements with a trace of the immediate calling code
    for a given statement.
     N/A os N/A sys N/A traceback N/A target_paths N/A set N/A N/A N/A N/A os path dirname N/A N/A N/A sys modules N/A oslo_db __file__ N/A N/A N/A os path dirname N/A N/A N/A sys modules N/A sqlalchemy __file__ N/A N/A N/A skip_paths N/A set N/A N/A N/A N/A os path dirname N/A N/A N/A sys modules N/A oslo_db.tests __file__ N/A N/A N/A KeyError N/A N/A skip_paths N/A set before_cursor_execute N/A N/A conn cursor statement parameters context executemany N/A N/A N/A stack N/A N/A traceback extract_stack N/A our_line None N/A N/A idx N/A filename line method function N/A enumerate stack N/A N/A tgt skip_paths N/A N/A N/A N/A filename startswith tgt N/A N/A N/A N/A tgt target_paths N/A N/A N/A N/A filename startswith tgt N/A N/A our_line idx N/A N/A our_line N/A N/A N/A our_line N/A N/A trace N/A N/A ;  join N/A N/A File: %s (%s) %s N/A N/A line N/A 0 N/A line N/A 1 N/A line N/A 2 N/A line N/A stack N/A N/A our_line 3 our_line N/A statement N/A %s  -- %s N/A statement trace N/A N/A statement parameters N/A N/A N/A N/A sqlalchemy event listens_for engine before_cursor_execute retval True N/A