#NEWLINE# @ property #NEWLINE# def data_sources( self ) : #NEWLINE# #INDENT# locations_own_cases = LocationType . objects . filter ( domain = self . domain , shares_cases = True ) . exists ( ) #NEWLINE# if locations_own_cases : #NEWLINE# #INDENT# return [ ( self . get_static_options_size , self . get_static_options ) , ( self . get_groups_size , locations_own_cases . get_groups ) , ( self . get_sharing_groups_size , self . get_sharing_groups ) , ( self . get_locations_size , self . get_locations ) , ( self . get_users_size , self . get_users ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return [ ( self . get_static_options_size , self . get_static_options ) , ( self . get_groups_size , self . get_groups ) , ( self . get_sharing_groups_size , self . get_sharing_groups ) , ( self . get_users_size , self . get_users ) ]