Skip to content

Commit

Permalink
chore: Removing warning from feature server (#4281)
Browse files Browse the repository at this point in the history
* chore: Removing logging from feature server

Signed-off-by: Francisco Javier Arceo <franciscojavierarceo@users.noreply.github.com>

* linter

Signed-off-by: Francisco Javier Arceo <franciscojavierarceo@users.noreply.github.com>

---------

Signed-off-by: Francisco Javier Arceo <franciscojavierarceo@users.noreply.github.com>
Co-authored-by: Francisco Javier Arceo <franciscojavierarceo@users.noreply.github.com>
  • Loading branch information
franciscojavierarceo and franciscojavierarceo authored Jun 17, 2024
1 parent 849f590 commit 4cb24fc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sdk/python/feast/feature_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import sys
import threading
import traceback
import warnings
from contextlib import asynccontextmanager
from typing import List, Optional

Expand Down Expand Up @@ -147,10 +146,6 @@ def push(body=Depends(get_body)):

@app.post("/write-to-online-store")
def write_to_online_store(body=Depends(get_body)):
warnings.warn(
"write_to_online_store is deprecated. Please consider using /push instead",
RuntimeWarning,
)
try:
request = WriteToFeatureStoreRequest(**json.loads(body))
df = pd.DataFrame(request.df)
Expand Down

0 comments on commit 4cb24fc

Please sign in to comment.