def cpus(self, hints: Dict[str, Any]): val = get_value_for_hints_and_ordered_resource_tuple( hints, CORES_TUPLE) if val: return val return 1
def memory(self, hints: Dict[str, Any]): val = get_value_for_hints_and_ordered_resource_tuple(hints, MEM_TUPLE) if val: return val return 8
def cpus(self, hints): val = get_value_for_hints_and_ordered_resource_tuple(hints, CPU_TUPLE) if val: return val return 5