python/ray/serve/deployment_state.py
def add(self, state: ReplicaState, replica: VersionedReplica):
        """Add the provided replica under the provided state.

        Args:
            state (ReplicaState): state to add the replica under.
            replica (VersionedReplica): replica to add.
        """
        assert isinstance(state, ReplicaState)
        assert isinstance(replica, VersionedReplica)
        self._replicas[state].append(replica)
Add the provided replica under the provided state.

        Args:
            state (ReplicaState): state to add the replica under.
            replica (VersionedReplica): replica to add.
        
Add the provided replica under the provided state.
Add the provided replica under the provided state .
def add(self, state: ReplicaState, replica: VersionedReplica):
        assert isinstance(state, ReplicaState)
        assert isinstance(replica, VersionedReplica)
        self._replicas[state].append(replica)
def add ( self , state : ReplicaState , replica : VersionedReplica ) : assert isinstance ( state , ReplicaState ) assert isinstance ( replica , VersionedReplica ) self . _replicas [ state ] . append ( replica )
Add the provided replica under the provided state.
Add the provided replica under the provided state .
"""Add the provided replica under the provided state.

        Args:
            state (ReplicaState): state to add the replica under.
            replica (VersionedReplica): replica to add.
        """
self
state
ReplicaState
state to add the replica under.
state to add the replica under .
replica
VersionedReplica
replica to add.
replica to add .