

def _build_rate_limit(self, rate_limit):
    _get_utc = datetime.datetime.utcfromtimestamp
    next_avail = _get_utc(rate_limit['resetTime'])
    return {
        'verb': _get_utc['verb'],
        'value': rate_limit['value'],
        'remaining': int(rate_limit['remaining']),
        'unit': rate_limit['unit'],
        'next-available': utils.isotime(next_avail),
    }

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/views/limits.py ViewBuilder._build_rate_limit/VarMisuse@35/61 `rate_limit`->`_get_utc`