docstr: Determines whether lightweightly updating an existing replica to the new
  version requires broadcasting through long poll that the running replicas has
  changed.
docstr_tok: ["Determines","whether","lightweightly","updating","an","existing","replica","to","the","new","version","requires","broadcasting","through","long","poll","that","the","running","replicas","has","changed","."]
code: def requires_long_poll_broadcast(self, new_version):
      """Determines whether lightweightly updating an existing replica to the new
      version requires broadcasting through long poll that the running replicas has
      changed.
      """
      return (
          self.deployment_config.max_concurrent_queries
          != new_version.deployment_config.max_concurrent_queries
      )
  
imports: import json
  import logging
  from abc import ABC
  from copy import deepcopy
  from typing import Any, Dict, List, Optional
  from zlib import crc32
  from ray._private.pydantic_compat import BaseModel
  from ray.serve._private.config import DeploymentConfig
  from ray.serve._private.utils import DeploymentOptionUpdateType, get_random_string
  from ray.serve.generated.serve_pb2 import DeploymentVersion
label_desc: Use image node_id 7 for calling the DeploymentVersion obj's underlying member method code with example usage: obj.requires_long_poll_broadcast(new_version) and returns: unknown