Skip to content

Commit 4cb24fc

Browse files
chore: Removing warning from feature server (feast-dev#4281)
* chore: Removing logging from feature server Signed-off-by: Francisco Javier Arceo <[email protected]> * linter Signed-off-by: Francisco Javier Arceo <[email protected]> --------- Signed-off-by: Francisco Javier Arceo <[email protected]> Co-authored-by: Francisco Javier Arceo <[email protected]>
1 parent 849f590 commit 4cb24fc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sdk/python/feast/feature_server.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import sys
33
import threading
44
import traceback
5-
import warnings
65
from contextlib import asynccontextmanager
76
from typing import List, Optional
87

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

148147
@app.post("/write-to-online-store")
149148
def write_to_online_store(body=Depends(get_body)):
150-
warnings.warn(
151-
"write_to_online_store is deprecated. Please consider using /push instead",
152-
RuntimeWarning,
153-
)
154149
try:
155150
request = WriteToFeatureStoreRequest(**json.loads(body))
156151
df = pd.DataFrame(request.df)

0 commit comments

Comments
 (0)