From b233f0bf37917f96ddfffbc6417f7a2e1f620d06 Mon Sep 17 00:00:00 2001 From: Danny Chiao Date: Thu, 10 Feb 2022 15:46:04 -0500 Subject: [PATCH 1/2] Remove outdated warnings around feast serve now that it's graduated from alpha Signed-off-by: Danny Chiao --- sdk/python/feast/cli.py | 2 +- sdk/python/feast/feature_server.py | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/sdk/python/feast/cli.py b/sdk/python/feast/cli.py index f6d326410a3..c23c3d104a7 100644 --- a/sdk/python/feast/cli.py +++ b/sdk/python/feast/cli.py @@ -512,7 +512,7 @@ def init_command(project_directory, minimal: bool, template: str): ) @click.pass_context def serve_command(ctx: click.Context, host: str, port: int, no_access_log: bool): - """[Experimental] Start a the feature consumption server locally on a given port.""" + """Start a feature server locally on a given port.""" repo = ctx.obj["CHDIR"] cli_check_repo(repo) store = FeatureStore(repo_path=str(repo)) diff --git a/sdk/python/feast/feature_server.py b/sdk/python/feast/feature_server.py index 1f4513fa371..3d131060568 100644 --- a/sdk/python/feast/feature_server.py +++ b/sdk/python/feast/feature_server.py @@ -66,9 +66,4 @@ def start_server( store: "feast.FeatureStore", host: str, port: int, no_access_log: bool ): app = get_app(store) - click.echo( - "This is an " - + click.style("experimental", fg="yellow", bold=True, underline=True) - + " feature. It's intended for early testing and feedback, and could change without warnings in future releases." - ) uvicorn.run(app, host=host, port=port, access_log=(not no_access_log)) From b97dde81e28f2847bd6a40969271548618a47ee1 Mon Sep 17 00:00:00 2001 From: Danny Chiao Date: Thu, 10 Feb 2022 15:48:40 -0500 Subject: [PATCH 2/2] fix lint Signed-off-by: Danny Chiao --- sdk/python/feast/feature_server.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/python/feast/feature_server.py b/sdk/python/feast/feature_server.py index 3d131060568..585075843a6 100644 --- a/sdk/python/feast/feature_server.py +++ b/sdk/python/feast/feature_server.py @@ -1,6 +1,5 @@ import traceback -import click import uvicorn from fastapi import FastAPI, HTTPException, Request from fastapi.logger import logger