#NEWLINE# def get_state( self ) : #NEWLINE# #INDENT# in_flights = [ c . in_flight for c in self . _connections ] #NEWLINE# return { #NEWLINE# #INDENT# 'shutdown' : self . is_shutdown , #NEWLINE# 'open_count' : self . open_count , #NEWLINE# 'in_flights' : in_flights , #NEWLINE# #UNINDENT# }