(self, domain, config_or_config_id, filters, aggregation_columns, columns, order_by,
                 distinct_on, custom_query_provider=None, data_source_type=DATA_SOURCE_TYPE_STANDARD)
config_or_config_id: an instance of DataSourceConfiguration or an id pointing to it
config_or_config_id: an instance of DataSourceConfiguration or an id pointing to it
config_or_config_id : an instance of DataSourceConfiguration or an id pointing to it
def __init__(self, domain, config_or_config_id, filters, aggregation_columns, columns, order_by,
                 distinct_on, custom_query_provider=None, data_source_type=DATA_SOURCE_TYPE_STANDARD):
        """
            config_or_config_id: an instance of DataSourceConfiguration or an id pointing to it
        """
        self.domain = domain
        self._data_source = None
        if isinstance(config_or_config_id, DataSourceConfiguration):
            self._config = config_or_config_id
            self._config_id = self._config._id
        else:
            assert isinstance(config_or_config_id, str), type(config_or_config_id)
            self._config = None
            self._config_id = config_or_config_id

        self.data_source_type = data_source_type
        self._filters = filters
        self._order_by = order_by
        self._distinct_on = distinct_on
        self._aggregation_columns = aggregation_columns
        self._columns = columns

        self._custom_query_provider = custom_query_provider
        self._track_load = None
def __init__ ( self , domain , config_or_config_id , filters , aggregation_columns , columns , order_by , distinct_on , custom_query_provider = None , data_source_type = DATA_SOURCE_TYPE_STANDARD ) : self . domain = domain self . _data_source = None if isinstance ( config_or_config_id , DataSourceConfiguration ) : self . _config = config_or_config_id self . _config_id = self . _config . _id else : assert isinstance ( config_or_config_id , str ) , type ( config_or_config_id ) self . _config = None self . _config_id = config_or_config_id self . data_source_type = data_source_type self . _filters = filters self . _order_by = order_by self . _distinct_on = distinct_on self . _aggregation_columns = aggregation_columns self . _columns = columns self . _custom_query_provider = custom_query_provider self . _track_load = None