Skip to content

Commit

Permalink
[serve][cli] Remove outdated docstring info (ray-project#44355)
Browse files Browse the repository at this point in the history
Forgot to remove these when removing "provider" concept.


---------

Signed-off-by: Edward Oakes <[email protected]>
  • Loading branch information
edoakes authored Mar 29, 2024
1 parent 3754f57 commit 873a584
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions python/ray/serve/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,7 @@ def _generate_config_from_file_or_import_path(
"a function that returns one. If a function is used, arguments can be "
"passed to it in 'key=val' format after the import path, for example:\n\n"
"serve deploy main:app model_path='/path/to/model.pkl' num_replicas=5\n\n"
"This command supports different 'providers'. By default, it uses a 'local' "
"provider that makes a REST API request to a running Ray cluster. "
"Not all arguments are supported by all providers."
"This command makes a REST API request to a running Ray cluster."
),
)
@click.argument("config_or_import_path")
Expand All @@ -303,9 +301,8 @@ def _generate_config_from_file_or_import_path(
default=None,
required=False,
help=(
"Directory containing files that your application(s) will run in. When using "
"the 'local' provider, this must be a remote URI to a .zip file (e.g., S3 "
"bucket). Other providers may support local paths. This overrides the "
"Directory containing files that your application(s) will run in. This must "
"be a remote URI to a .zip file (e.g., S3 bucket). This overrides the "
"working_dir in --runtime-env if both are specified."
),
)
Expand All @@ -322,7 +319,7 @@ def _generate_config_from_file_or_import_path(
default=os.environ.get("RAY_DASHBOARD_ADDRESS", "http://localhost:8265"),
required=False,
type=str,
help=RAY_DASHBOARD_ADDRESS_HELP_STR + " Only used by the 'local' provider.",
help=RAY_DASHBOARD_ADDRESS_HELP_STR,
)
def deploy(
config_or_import_path: str,
Expand Down

0 comments on commit 873a584

Please sign in to comment.