Skip to content

Commit 51c0a62

Browse files
authored
Remove old flag warning with the python feature server (feast-dev#2300)
* Remove outdated warnings around feast serve now that it's graduated from alpha Signed-off-by: Danny Chiao <danny@tecton.ai> * fix lint Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent e02e91d commit 51c0a62

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

sdk/python/feast/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def init_command(project_directory, minimal: bool, template: str):
512512
)
513513
@click.pass_context
514514
def serve_command(ctx: click.Context, host: str, port: int, no_access_log: bool):
515-
"""[Experimental] Start a the feature consumption server locally on a given port."""
515+
"""Start a feature server locally on a given port."""
516516
repo = ctx.obj["CHDIR"]
517517
cli_check_repo(repo)
518518
store = FeatureStore(repo_path=str(repo))

sdk/python/feast/feature_server.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import traceback
22

3-
import click
43
import uvicorn
54
from fastapi import FastAPI, HTTPException, Request
65
from fastapi.logger import logger
@@ -66,9 +65,4 @@ def start_server(
6665
store: "feast.FeatureStore", host: str, port: int, no_access_log: bool
6766
):
6867
app = get_app(store)
69-
click.echo(
70-
"This is an "
71-
+ click.style("experimental", fg="yellow", bold=True, underline=True)
72-
+ " feature. It's intended for early testing and feedback, and could change without warnings in future releases."
73-
)
7468
uvicorn.run(app, host=host, port=port, access_log=(not no_access_log))

0 commit comments

Comments
 (0)