Skip to content

Commit

Permalink
chore: update test case due to change of param
Browse files Browse the repository at this point in the history
Signed-off-by: Hai Nguyen <quanghai.ng1512@gmail.com>
  • Loading branch information
sudohainguyen committed Mar 2, 2023
1 parent 69a8091 commit 56e790e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/python/feast/infra/offline_stores/offline_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def on_demand_feature_views(self) -> List[OnDemandFeatureView]:
def persist(
self,
storage: SavedDatasetStorage,
allow_overwrite: Optional[bool] = False,
allow_overwrite: bool = False,
timeout: Optional[int] = None,
):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@ def on_demand_feature_views(self) -> List[OnDemandFeatureView]:
"""Returns a list containing all the on demand feature views to be handled."""
pass

def persist(self, storage: SavedDatasetStorage, allow_overwrite: bool = False):
def persist(
self,
storage: SavedDatasetStorage,
allow_overwrite: bool = False,
timeout: Optional[int] = None,
):
"""
Synchronously executes the underlying query and persists the result in the same offline store
at the specified destination.
Expand Down

0 comments on commit 56e790e

Please sign in to comment.