#NEWLINE# def _get_quotas( self , context , tenant_id , resources ) : #NEWLINE# #INDENT# 'Retrieves the quotas for specific resources.\n\n        A helper method which retrieves the quotas for the specific\n        resources identified by keys, and which apply to the current\n        context.\n\n        :param context: The request context, for access checks.\n        :param tenant_id: the tenant_id to check quota.\n        :param resources: A dictionary of the registered resources.\n        ' #NEWLINE# quotas = DbQuotaDriver . get_tenant_quotas ( context , resources , tenant_id ) #NEWLINE# return dict ( ( ( k , v ) for ( k , v ) in quotas . items ( ) ) )