Skip to content

Commit a3dac0f

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

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
@@ -1582,9 +1582,9 @@ def _start_offline_materialization(offline_write_options: Dict[str, Any]) -> boo
15821582
def _convert_feature_log_to_df(feature_log, cols) -> pd.DataFrame:
15831583
if feature_log is None and cols:
15841584
return pd.DataFrame(columns=cols)
1585-
if not (isinstance(feature_log, (list, pd.DataFrame, pl.DataFrame)) or (
1585+
if not (isinstance(feature_log, (list, pd.DataFrame, pl.DataFrame))) or (
15861586
HAS_NUMPY and isinstance(feature_log, np.ndarray)
1587-
)):
1587+
):
15881588
raise ValueError(f"Type '{type(feature_log)}' not accepted")
15891589
if isinstance(feature_log, list) or (
15901590
HAS_NUMPY and isinstance(feature_log, np.ndarray)

0 commit comments

Comments
 (0)