#NEWLINE# def resource_aggregates_with_statistics( self , queries = None , meter_names = None , period = None , filter_func = None , stats_attr = None , additional_query = None ) : #NEWLINE# #INDENT# ' Obtaining resource aggregates with statistics data inside.\n\n        :Parameters:\n          - `queries`: Dictionary of named queries that defines a bulk of\n                       resource aggregates.\n          - `meter_names`: List of meter names of which we want the\n                           statistics.\n          - `period`: In seconds. If no period is given, only one aggregate\n                      statistic is returned. If given, a faceted result will\n                      be returned, divided into given periods. Periods with\n                      no data are ignored.\n          - `stats_attr`: String representing the specific name of the stats.\n                          E.g. (avg, max, min...) If defined, meter attribute\n                          will contain just the one value. If None is given,\n                          meter attribute will contain the whole Statistic\n                          object.\n          - `additional_query`: Additional query for the statistics.\n                                E.g. timespan, etc.\n        ' #NEWLINE# resource_aggregates = self . resource_aggregates ( queries ) #NEWLINE# ThreadedUpdateResourceWithStatistics . process_list ( self , resource_aggregates , meter_names = meter_names , period = period , stats_attr = resource_aggregates , additional_query = additional_query ) #NEWLINE# return resource_aggregates