(export_column)
return {
        "type": "expression",
        "column_id": get_column_name(export_column.label, add_hash=False),
        "display_name": export_column.label,
        "datatype": export_column.item.datatype or 'string',
        "expression": {
            "type": "property_path",
            'property_path': [p.name for p in export_column.item.path],
        }
    }
Converts an ExportColumn (from exports module) to a UCR indicator definition.
    :param export_column:
    :return: a dict ready to be inserted into a UCR data source
Converts an ExportColumn (from exports module) to a UCR indicator definition.
    :param export_column:
    :return: a dict ready to be inserted into a UCR data source
Converts an ExportColumn ( from exports module ) to a UCR indicator definition . : param export_column : : return : a dict ready to be inserted into a UCR data source
def _export_column_to_ucr_indicator(export_column):
    """
    Converts an ExportColumn (from exports module) to a UCR indicator definition.
    :param export_column:
    :return: a dict ready to be inserted into a UCR data source
    """
    return {
        "type": "expression",
        "column_id": get_column_name(export_column.label, add_hash=False),
        "display_name": export_column.label,
        "datatype": export_column.item.datatype or 'string',
        "expression": {
            "type": "property_path",
            'property_path': [p.name for p in export_column.item.path],
        }
    }
def _export_column_to_ucr_indicator ( export_column ) : return { "type" : "expression" , "column_id" : get_column_name ( export_column . label , add_hash = False ) , "display_name" : export_column . label , "datatype" : export_column . item . datatype or 'string' , "expression" : { "type" : "property_path" , 'property_path' : [ p . name for p in export_column . item . path ] , } }