Skip to content

Commit

Permalink
Return service name and endpoint when calling sky serve up
Browse files Browse the repository at this point in the history
  • Loading branch information
fozziethebeat committed May 14, 2024
1 parent 8a0a34d commit b9c46cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sky/serve/core.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""SkyServe core APIs."""
"#""SkyServe core APIs."""
import re
import tempfile
from typing import Any, Dict, List, Optional, Union
from typing import Any, Dict, List, Optional, Tuple, Union

import colorama

Expand Down Expand Up @@ -292,6 +292,7 @@ def up(
f'{style.RESET_ALL}'
f'\n{fore.GREEN}The replicas should be ready within a '
f'short time.{style.RESET_ALL}')
return service_name, endpoint


@usage_lib.entrypoint
Expand Down

0 comments on commit b9c46cf

Please sign in to comment.