def _get_quotas(self, context, tenant_id, resources):
        # Grab and return the quotas (without usages)
        quotas = DbQuotaDriver.get_tenant_quotas(
            context, resources, tenant_id)

        return dict((k, v) for k, v in quotas.items())
Key name can be set by Key.key or Key.name. Key.key sets Key.name
dataset/ETHPy150Open openstack/neutron/neutron/db/quota/driver.py/DbQuotaDriver._get_quotas--crossover with--dataset/ETHPy150Open nathancahill/mimicdb/mimicdb/s3/key.py/Key.name