@staticmethod
def _compute_request_cpus(bundle):
    """
        Compute the CPU limit used for scheduling the run.
        The default of 1 is for backwards compatibilty for
        runs from before when we added client-side defaults
        """
    if not bundle.metadata.request_cpus:
        return 1
    return bundle.metadata.request_cpus
