#NEWLINE# def aggregate_metadata_get_by_host( context , host , key = None ) : #NEWLINE# #INDENT# 'Get metadata for all aggregates that host belongs to.\n\n    Returns a dictionary where each value is a set, this is to cover the case\n    where there two aggregates have different values for the same key.\n    Optional key filter\n    ' #NEWLINE# return IMPL . aggregate_metadata_get_by_host ( context , host , key )