def serve_command(ctx: click.Context, port: int): """[Experimental] Start a the feature consumption server locally on a given port.""" repo = ctx.obj["CHDIR"] cli_check_repo(repo) store = FeatureStore(repo_path=str(repo)) store.serve(port)
def serve_command(ctx: click.Context, host: str, port: int, no_access_log: bool): """Start a feature server locally on a given port.""" repo = ctx.obj["CHDIR"] cli_check_repo(repo) store = FeatureStore(repo_path=str(repo)) store.serve(host, port, no_access_log)