From b9c46cf44290a50de48cff0b9af06b49e3ea337b Mon Sep 17 00:00:00 2001 From: Keith Stevens Date: Tue, 14 May 2024 14:13:12 +0900 Subject: [PATCH] Return service name and endpoint when calling sky serve up --- sky/serve/core.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sky/serve/core.py b/sky/serve/core.py index 79aa53f7b58..71fa94ec222 100644 --- a/sky/serve/core.py +++ b/sky/serve/core.py @@ -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 @@ -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