python/ray/serve/deployment.py
def deploy(self, *init_args, _blocking=True, **init_kwargs):
        """Deploy or update this deployment.

        Args:
            init_args (optional): args to pass to the class __init__
                method. Not valid if this deployment wraps a function.
            init_kwargs (optional): kwargs to pass to the class __init__
                method. Not valid if this deployment wraps a function.
        """
        if len(init_args) == 0 and self._init_args is not None:
            init_args = self._init_args
        if len(init_kwargs) == 0 and self._init_kwargs is not None:
            init_kwargs = self._init_kwargs

        return get_global_client().deploy(
            self._name,
            self._func_or_class,
            init_args,
            init_kwargs,
            ray_actor_options=self._ray_actor_options,
            config=self._config,
            version=self._version,
            prev_version=self._prev_version,
            route_prefix=self.route_prefix,
            url=self.url,
            _blocking=_blocking,
        )
Deploy or update this deployment.

        Args:
            init_args (optional): args to pass to the class __init__
                method. Not valid if this deployment wraps a function.
            init_kwargs (optional): kwargs to pass to the class __init__
                method. Not valid if this deployment wraps a function.
        
Deploy or update this deployment.
Deploy or update this deployment .
def deploy(self, *init_args, _blocking=True, **init_kwargs):
        if len(init_args) == 0 and self._init_args is not None:
            init_args = self._init_args
        if len(init_kwargs) == 0 and self._init_kwargs is not None:
            init_kwargs = self._init_kwargs
        return get_global_client().deploy(
            self._name,
            self._func_or_class,
            init_args,
            init_kwargs,
            ray_actor_options=self._ray_actor_options,
            config=self._config,
            version=self._version,
            prev_version=self._prev_version,
            route_prefix=self.route_prefix,
            url=self.url,
            _blocking=_blocking,
        )
def deploy ( self , * init_args , _blocking = True , ** init_kwargs ) : if len ( init_args ) == 0 and self . _init_args is not None : init_args = self . _init_args if len ( init_kwargs ) == 0 and self . _init_kwargs is not None : init_kwargs = self . _init_kwargs return get_global_client ( ) . deploy ( self . _name , self . _func_or_class , init_args , init_kwargs , ray_actor_options = self . _ray_actor_options , config = self . _config , version = self . _version , prev_version = self . _prev_version , route_prefix = self . route_prefix , url = self . url , _blocking = _blocking , )
Deploy or update this deployment.
Deploy or update this deployment .
"""Deploy or update this deployment.

        Args:
            init_args (optional): args to pass to the class __init__
                method. Not valid if this deployment wraps a function.
            init_kwargs (optional): kwargs to pass to the class __init__
                method. Not valid if this deployment wraps a function.
        """
self
_blocking
init_args
args to pass to the class __init
method. Not valid if this deployment wraps a function.
args to pass to the class __init method . Not valid if this deployment wraps a function .
init_kwargs
kwargs to pass to the class __init
method. Not valid if this deployment wraps a function.
kwargs to pass to the class __init method . Not valid if this deployment wraps a function .