(resource_type)
return case_property_names
Returns the names of mapped case properties, plus "external_id"
Returns the names of mapped case properties, plus "external_id"
Returns the names of mapped case properties plus external_id
def _get_case_property_names(resource_type):
    """
    Returns the names of mapped case properties, plus "external_id"
    """
    # We will need "external_id" to tell whether a case already exists
    # on the remote service.
    case_property_names = ['external_id']
    for resource_property in resource_type.properties.all():
        value_source = resource_property.get_value_source()
        if hasattr(value_source, 'case_property'):
            case_property_names.append(value_source.case_property)
    return case_property_names
def _get_case_property_names ( resource_type ) : # We will need "external_id" to tell whether a case already exists # on the remote service. case_property_names = [ 'external_id' ] for resource_property in resource_type . properties . all ( ) : value_source = resource_property . get_value_source ( ) if hasattr ( value_source , 'case_property' ) : case_property_names . append ( value_source . case_property ) return case_property_names