def get_project_quotas(self, context, resources, project_id,
                           quota_class=None, defaults=True,
                           usages=True, remains=False, project_quotas=None):
        project_quotas = project_quotas or db.quota_get_all_by_project(
            context, project_id)
        project_usages = None
        if usages:
            LOG.debug('Getting all quota usages for project: %s', project_id)
            project_usages = db.quota_usage_get_all_by_project(context,
                                                               project_id)
        return self._process_quotas(context, resources, project_id,
                                    project_quotas, quota_class,
                                    defaults=defaults, usages=project_usages,
                                    remains=remains)
>>> _format_and_kws("fmt")
dataset/ETHPy150Open openstack/nova/nova/quota.py/DbQuotaDriver.get_project_quotas--crossover with--dataset/ETHPy150Open RDFLib/rdfextras/rdfextras/tools/rdfpipe.py/_format_and_kws