Module Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Import alias ImportFrom alias Assign NameStore Num Assign NameStore Call NameLoad Assign NameStore BinOpMult ListLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Dict Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword ListLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Num With Call NameLoad NameLoad keyword NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias ImportFrom alias identifier Assign NameStore Num Assign NameStore Call NameLoad Assign NameStore BinOpMult ListLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list With Call NameLoad NameLoad keyword NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias ImportFrom alias identifier Assign NameStore Num Assign NameStore Call NameLoad With Call NameLoad NameLoad keyword NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Import alias Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Num With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults TupleLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Slice SubscriptLoad AttributeLoad NameLoad attr Slice Num Return NameLoad orelse Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Import alias Raise AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A unittest2 TestConnectionPool N/A N/A unittest2 TestCase N/A _getTargetClass N/A N/A self N/A N/A gcloud.bigtable.happybase.pool ConnectionPool N/A ConnectionPool N/A _makeOne N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self _getTargetClass args kwargs N/A test_constructor_defaults N/A N/A self N/A N/A N/A six N/A threading gcloud.bigtable.happybase.connection Connection N/A size 11 N/A cluster_copy N/A _Cluster N/A all_copies N/A N/A cluster_copy size N/A cluster N/A _Cluster copies all_copies N/A pool N/A N/A self _makeOne size cluster cluster N/A N/A N/A self assertTrue N/A isinstance N/A pool _lock N/A type N/A N/A threading Lock N/A N/A N/A self assertTrue N/A isinstance N/A pool _thread_connections N/A threading local N/A N/A N/A self assertEqual N/A N/A pool _thread_connections __dict__ N/A N/A queue N/A pool _queue N/A N/A N/A self assertTrue N/A isinstance queue N/A N/A N/A six moves queue LifoQueue N/A N/A N/A self assertTrue N/A N/A queue full N/A N/A N/A self assertEqual N/A queue maxsize size N/A connection N/A queue queue N/A N/A N/A N/A self assertTrue N/A isinstance connection Connection N/A N/A N/A self assertTrue N/A N/A connection _cluster cluster_copy N/A test_constructor_passes_kwargs N/A N/A self N/A N/A N/A table_prefix foo N/A table_prefix_separator <> N/A cluster N/A _Cluster N/A size 1 N/A pool N/A N/A self _makeOne size table_prefix table_prefix table_prefix_separator table_prefix_separator cluster cluster N/A connection N/A N/A pool _queue queue N/A N/A N/A N/A self assertEqual N/A connection table_prefix table_prefix N/A N/A N/A self assertEqual N/A connection table_prefix_separator table_prefix_separator N/A test_constructor_ignores_autoconnect N/A N/A self N/A N/A gcloud._testing _Monkey gcloud.bigtable.happybase.connection Connection gcloud.bigtable.happybase pool MUT ConnectionWithOpen N/A Connection N/A N/A _open_called False open N/A N/A self N/A N/A N/A N/A self _open_called True N/A N/A N/A cluster_copy1 N/A _Cluster N/A cluster_copy2 N/A _Cluster N/A cluster_copy3 N/A _Cluster N/A cluster N/A _Cluster copies N/A cluster_copy1 cluster_copy2 cluster_copy3 N/A connection N/A ConnectionWithOpen autoconnect False cluster cluster N/A N/A N/A self assertFalse N/A connection _open_called N/A N/A N/A self assertTrue N/A N/A connection _cluster cluster_copy1 N/A connection N/A ConnectionWithOpen autoconnect True cluster cluster N/A N/A N/A self assertTrue N/A connection _open_called N/A N/A N/A self assertTrue N/A N/A connection _cluster cluster_copy2 N/A size 1 N/A N/A _Monkey MUT Connection ConnectionWithOpen N/A N/A pool N/A N/A self _makeOne size autoconnect True cluster cluster N/A connection N/A N/A pool _queue queue N/A N/A N/A N/A self assertTrue N/A isinstance connection ConnectionWithOpen N/A N/A N/A self assertTrue N/A N/A connection _cluster cluster_copy3 N/A N/A N/A self assertFalse N/A connection _open_called N/A test_constructor_infers_cluster N/A N/A self N/A N/A gcloud._testing _Monkey gcloud.bigtable.happybase.connection Connection gcloud.bigtable.happybase pool MUT N/A size 1 N/A cluster_copy N/A _Cluster N/A all_copies N/A N/A cluster_copy size N/A cluster N/A _Cluster copies all_copies N/A get_cluster_calls N/A mock_get_cluster N/A N/A timeout N/A None N/A N/A N/A N/A get_cluster_calls append timeout N/A cluster N/A N/A N/A _Monkey MUT _get_cluster mock_get_cluster N/A N/A pool N/A N/A self _makeOne size N/A connection N/A N/A pool _queue queue N/A N/A N/A N/A self assertTrue N/A isinstance connection Connection N/A N/A N/A self assertTrue N/A N/A connection _cluster cluster_copy N/A N/A N/A self assertEqual get_cluster_calls N/A None N/A test_constructor_non_integer_size N/A N/A self N/A N/A N/A size None N/A N/A N/A self assertRaises TypeError N/A N/A N/A N/A self _makeOne size N/A test_constructor_non_positive_size N/A N/A self N/A N/A N/A size -10 N/A N/A N/A self assertRaises ValueError N/A N/A N/A N/A self _makeOne size N/A size 0 N/A N/A N/A self assertRaises ValueError N/A N/A N/A N/A self _makeOne size N/A _makeOneWithMockQueue N/A N/A self queue_return N/A N/A gcloud._testing _Monkey gcloud.bigtable.happybase pool MUT N/A size -1 N/A cluster N/A object N/A N/A _Monkey MUT _MIN_POOL_SIZE size N/A N/A pool N/A N/A self _makeOne size cluster cluster N/A N/A pool _queue N/A _Queue queue_return N/A pool N/A test__acquire_connection N/A N/A self N/A N/A N/A queue_return N/A object N/A pool N/A N/A self _makeOneWithMockQueue queue_return N/A timeout 432 N/A connection N/A N/A pool _acquire_connection timeout timeout N/A N/A N/A self assertTrue N/A connection queue_return N/A N/A N/A self assertEqual N/A N/A pool _queue _get_calls N/A N/A True timeout N/A N/A N/A self assertEqual N/A N/A pool _queue _put_calls N/A N/A test__acquire_connection_failure N/A N/A self N/A N/A gcloud.bigtable.happybase.pool NoConnectionsAvailable N/A pool N/A N/A self _makeOneWithMockQueue None N/A timeout 1027 N/A N/A N/A self assertRaises NoConnectionsAvailable N/A N/A N/A N/A pool _acquire_connection timeout timeout N/A N/A N/A self assertEqual N/A N/A pool _queue _get_calls N/A N/A True timeout N/A N/A N/A self assertEqual N/A N/A pool _queue _put_calls N/A N/A test_connection_is_context_manager N/A N/A self N/A N/A N/A contextlib N/A six N/A queue_return N/A _Connection N/A pool N/A N/A self _makeOneWithMockQueue queue_return N/A cnxn_context N/A N/A pool connection N/A N/A six PY3 N/A N/A N/A N/A self assertTrue N/A isinstance cnxn_context N/A contextlib _GeneratorContextManager N/A N/A N/A N/A self assertTrue N/A isinstance cnxn_context N/A contextlib GeneratorContextManager N/A test_connection_no_current_cnxn N/A N/A self N/A N/A N/A queue_return N/A _Connection N/A pool N/A N/A self _makeOneWithMockQueue queue_return N/A timeout 55 N/A N/A N/A self assertFalse N/A hasattr N/A pool _thread_connections current N/A N/A N/A pool connection timeout timeout connection N/A N/A N/A N/A self assertEqual N/A N/A pool _thread_connections current queue_return N/A N/A N/A self assertTrue N/A connection queue_return N/A N/A N/A self assertFalse N/A hasattr N/A pool _thread_connections current N/A N/A N/A self assertEqual N/A N/A pool _queue _get_calls N/A N/A True timeout N/A N/A N/A self assertEqual N/A N/A pool _queue _put_calls N/A N/A queue_return None None N/A test_connection_with_current_cnxn N/A N/A self N/A N/A N/A current_cnxn N/A _Connection N/A queue_return N/A _Connection N/A pool N/A N/A self _makeOneWithMockQueue queue_return N/A N/A N/A pool _thread_connections current current_cnxn N/A timeout 8001 N/A N/A N/A pool connection timeout timeout connection N/A N/A N/A N/A self assertTrue N/A connection current_cnxn N/A N/A N/A self assertEqual N/A N/A pool _queue _get_calls N/A N/A N/A N/A self assertEqual N/A N/A pool _queue _put_calls N/A N/A N/A N/A self assertEqual N/A N/A pool _thread_connections current current_cnxn N/A N/A _Client N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self stop_calls 0 N/A stop N/A N/A self N/A N/A N/A N/A self stop_calls 1 N/A N/A _Connection N/A object N/A open N/A N/A self N/A N/A N/A N/A N/A _Cluster N/A object N/A __init__ N/A N/A self copies N/A N/A N/A N/A N/A self copies N/A list copies N/A N/A self _client N/A _Client N/A copy N/A N/A self N/A N/A N/A N/A self copies N/A N/A result N/A N/A self copies N/A 0 N/A N/A N/A self copies N/A N/A N/A self copies N/A 1 N/A result N/A N/A self N/A N/A _Queue N/A object N/A __init__ N/A N/A self result N/A None N/A N/A N/A self result result N/A N/A self _get_calls N/A N/A N/A self _put_calls N/A N/A get N/A N/A self block timeout N/A None None N/A N/A N/A N/A N/A self _get_calls append N/A block timeout N/A N/A N/A self result None N/A N/A six N/A N/A N/A N/A six moves queue Empty N/A N/A N/A self result N/A put N/A N/A self item block timeout N/A None None N/A N/A N/A N/A N/A self _put_calls append N/A item block timeout N/A N/A