Skip to content

Commit ad16302

Browse files
committed
Revert "Fix typo in hsfs/engine/python.py (#360)"
This reverts commit 3b53fff.
1 parent 3b53fff commit ad16302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/hsfs/engine/python.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1473,9 +1473,9 @@ def _start_offline_materialization(offline_write_options: Dict[str, Any]) -> boo
14731473
def _convert_feature_log_to_df(feature_log, cols) -> pd.DataFrame:
14741474
if feature_log is None and cols:
14751475
return pd.DataFrame(columns=cols)
1476-
if not (isinstance(feature_log, (list, pd.DataFrame, pl.DataFrame)) or (
1476+
if not (isinstance(feature_log, (list, pd.DataFrame, pl.DataFrame))) or (
14771477
HAS_NUMPY and isinstance(feature_log, np.ndarray)
1478-
)):
1478+
):
14791479
raise ValueError(f"Type '{type(feature_log)}' not accepted")
14801480
if isinstance(feature_log, list) or (
14811481
HAS_NUMPY and isinstance(feature_log, np.ndarray)

0 commit comments

Comments
 (0)