

def build(self, rate_limits, absolute_limits):
    rate_limits = self._build_rate_limits(rate_limits)
    absolute_limits = self._build_absolute_limits(absolute_limits)
    output = {
        'limits': {
            'rate': rate_limits,
            'absolute': absolute_limits,
        },
    }
    return output

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/views/limits.py ViewBuilder.build/original