get attribute '_non_atomic_requests' from the view object, if the attribute doesnt exist return the empty set, substitute the result for non_atomic_requests.
non_atomic_requests = getattr ( view , '_non_atomic_requests' , set ( ) )