(self)
return configured_columns
To be used by ManagedReportBuilderDataSourceHelper.indicators()
To be used by ManagedReportBuilderDataSourceHelper.indicators()
To be used by ManagedReportBuilderDataSourceHelper . indicators ()
def _configured_columns(self):
        """
        To be used by ManagedReportBuilderDataSourceHelper.indicators()
        """
        configured_columns = self.cleaned_data['columns']
        location = self.cleaned_data.get("location")
        if location and all(location != c.get('property')
                            for c in configured_columns):
            configured_columns += [{
                "property": location,
                "calculation": UI_AGG_GROUP_BY  # Not aggregated
            }]
        return configured_columns
def _configured_columns ( self ) : configured_columns = self . cleaned_data [ 'columns' ] location = self . cleaned_data . get ( "location" ) if location and all ( location != c . get ( 'property' ) for c in configured_columns ) : configured_columns += [ { "property" : location , "calculation" : UI_AGG_GROUP_BY # Not aggregated } ] return configured_columns