Module ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr For NameStore Call NameLoad Num body With Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Continue With Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Raise Call NameLoad decorator_list AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Raise Call NameLoad decorator_list Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr TryExcept body Return NameLoad handlers ExceptHandler body Return decorator_list Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr body Expr Call NameLoad FunctionDef arguments args defaults body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list Call AttributeLoad NameLoad attr Expr Call NameLoad With Call AttributeLoad NameLoad attr body With Call AttributeLoad NameLoad attr body Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str With Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias With Call AttributeLoad NameLoad attr NameLoad body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Raise Call NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr keyword NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias alias FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Raise Call NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias alias FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Raise Call NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Pass decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call NameLoad decorator_list AttributeLoad NameLoad attr Expr Call NameLoad Expr Call NameLoad decorator_list decorator_list
N/A djangae.test TestCase djangae.db transaction djangae.contrib sleuth TransactionTests N/A TestCase N/A test_repeated_usage_in_a_loop N/A N/A self N/A N/A test_connector TestUser N/A pk N/A N/A N/A N/A TestUser objects create username foo pk N/A i N/A xrange 4 N/A N/A N/A N/A transaction atomic xg True N/A N/A N/A N/A N/A TestUser objects get pk pk N/A N/A N/A N/A transaction atomic xg True N/A N/A N/A N/A N/A TestUser objects get pk pk N/A test_atomic_decorator N/A N/A self N/A N/A test_connector TestUser txn N/A N/A N/A N/A N/A N/A N/A N/A TestUser objects create username foo field2 bar N/A N/A N/A self assertTrue N/A N/A transaction in_atomic_block N/A N/A ValueError N/A N/A transaction atomic N/A N/A N/A self assertRaises ValueError N/A N/A N/A txn N/A N/A N/A self assertEqual 0 N/A N/A N/A TestUser objects count N/A test_interaction_with_datastore_txn N/A N/A self N/A N/A google.appengine.ext db google.appengine.datastore.datastore_rpc TransactionOptions test_connector TestUser some_indie_txn N/A N/A _username N/A N/A N/A N/A N/A N/A TestUser objects create username _username N/A N/A N/A db transactional propagation N/A TransactionOptions INDEPENDENT some_non_indie_txn N/A N/A _username N/A N/A N/A N/A N/A N/A TestUser objects create username _username N/A N/A N/A db transactional double_nested_transactional N/A N/A N/A N/A do_stuff N/A N/A N/A N/A N/A N/A N/A N/A TestUser objects create username Double N/A N/A ValueError N/A N/A N/A db transactional propagation N/A TransactionOptions INDEPENDENT N/A N/A N/A do_stuff N/A N/A N/A N/A N/A N/A N/A db transactional N/A N/A N/A transaction atomic N/A N/A N/A double_nested_transactional something_containing_atomic N/A N/A N/A N/A N/A N/A N/A transaction atomic N/A N/A N/A N/A N/A TestUser objects create username Inner N/A N/A N/A db transactional N/A N/A something_containing_atomic N/A N/A N/A transaction atomic N/A N/A N/A N/A transaction atomic N/A N/A N/A some_non_indie_txn Bob1 N/A N/A some_indie_txn Bob2 N/A N/A some_indie_txn Bob3 N/A N/A N/A transaction atomic independent True N/A N/A N/A some_non_indie_txn Fred1 N/A N/A some_indie_txn Fred2 N/A N/A some_indie_txn Fred3 N/A test_atomic_context_manager N/A N/A self N/A N/A test_connector TestUser N/A N/A N/A self assertRaises ValueError N/A N/A N/A N/A transaction atomic N/A N/A N/A N/A N/A TestUser objects create username foo field2 bar N/A N/A ValueError N/A N/A N/A self assertEqual 0 N/A N/A N/A TestUser objects count N/A test_non_atomic_context_manager N/A N/A self N/A N/A test_connector TestUser N/A existing N/A N/A N/A TestUser objects create username existing field2 exists N/A N/A N/A transaction atomic N/A N/A N/A N/A self assertTrue N/A N/A transaction in_atomic_block N/A user N/A N/A N/A TestUser objects create username foo field2 bar N/A N/A N/A transaction non_atomic N/A N/A N/A N/A self assertRaises N/A TestUser DoesNotExist N/A N/A TestUser objects get pk N/A user pk N/A N/A N/A self assertFalse N/A N/A transaction in_atomic_block N/A N/A N/A sleuth watch google.appengine.api.datastore.Get datastore_get N/A N/A N/A N/A N/A TestUser objects get pk N/A existing pk N/A N/A N/A self assertFalse N/A datastore_get called N/A N/A N/A transaction atomic independent True N/A N/A user2 N/A N/A N/A TestUser objects create username foo2 field2 bar2 N/A N/A N/A self assertTrue N/A N/A transaction in_atomic_block N/A N/A N/A transaction non_atomic N/A N/A N/A N/A self assertFalse N/A N/A transaction in_atomic_block N/A N/A N/A self assertRaises N/A TestUser DoesNotExist N/A N/A TestUser objects get pk N/A user2 pk N/A N/A N/A transaction non_atomic N/A N/A N/A N/A self assertFalse N/A N/A transaction in_atomic_block N/A N/A N/A self assertRaises N/A TestUser DoesNotExist N/A N/A TestUser objects get pk N/A user2 pk N/A N/A N/A sleuth watch google.appengine.api.datastore.Get datastore_get N/A N/A N/A N/A N/A TestUser objects get pk N/A existing pk N/A N/A N/A self assertFalse N/A N/A transaction in_atomic_block N/A N/A N/A self assertRaises N/A TestUser DoesNotExist N/A N/A TestUser objects get pk N/A user2 pk N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A TestUser objects filter pk N/A user2 pk exists N/A N/A N/A self assertTrue N/A N/A transaction in_atomic_block N/A test_xg_argument N/A N/A self N/A N/A test_connector TestUser TestFruit txn N/A N/A _username N/A N/A N/A N/A N/A N/A TestUser objects create username _username field2 bar N/A N/A N/A N/A TestFruit objects create name Apple color pink N/A N/A ValueError N/A N/A N/A transaction atomic xg True N/A N/A N/A self assertRaises ValueError N/A N/A N/A txn foo N/A N/A N/A self assertEqual 0 N/A N/A N/A TestUser objects count N/A N/A N/A self assertEqual 0 N/A N/A N/A TestFruit objects count N/A test_independent_argument N/A N/A self N/A N/A N/A 
            We would get a XG error if the inner transaction was not independent
         test_connector TestUser TestFruit txn1 N/A N/A _username _fruit N/A N/A txn2 N/A N/A _fruit N/A N/A N/A N/A N/A N/A TestFruit objects create name _fruit color pink N/A N/A ValueError N/A N/A N/A transaction atomic independent True N/A N/A N/A N/A TestUser objects create username _username N/A N/A txn2 _fruit N/A N/A transaction atomic N/A N/A N/A self assertRaises ValueError N/A N/A N/A txn1 test banana N/A test_nested_decorator N/A N/A self N/A N/A inner_txn N/A N/A N/A N/A N/A N/A N/A transaction atomic outer_txn N/A N/A N/A N/A N/A N/A inner_txn N/A N/A transaction atomic N/A N/A inner_txn N/A N/A outer_txn N/A N/A