Skip to content

Commit

Permalink
Remove old flag warning with the python feature server (#2300)
Browse files Browse the repository at this point in the history
* Remove outdated warnings around feast serve now that it's graduated from alpha

Signed-off-by: Danny Chiao <[email protected]>

* fix lint

Signed-off-by: Danny Chiao <[email protected]>
  • Loading branch information
adchia committed Feb 15, 2022
1 parent 89c0ac4 commit 1765966
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion sdk/python/feast/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
6 changes: 0 additions & 6 deletions sdk/python/feast/feature_server.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import traceback

import click
import uvicorn
from fastapi import FastAPI, HTTPException, Request
from fastapi.logger import logger
Expand Down Expand Up @@ -66,9 +65,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))

0 comments on commit 1765966

Please sign in to comment.