#NEWLINE# def get_case_data_source( app , case_type ) : #NEWLINE# #INDENT# prop_map = get_case_properties ( app , [ case_type ] , defaults = DEFAULT_CASE_PROPERTY_DATATYPES . keys ( ) ) #NEWLINE# return DataSourceConfiguration ( domain = app . domain , referenced_doc_type = 'CommCareCase' , table_id = _clean_table_name ( app . domain , case_type ) , display_name = case_type , configured_filter = make_case_data_source_filter ( case_type ) , configured_indicators = [ make_case_property_indicator ( property ) for property in prop_map [ property ] ] )