Skip to content

Commit 1cfa4f5

Browse files
cleanup
1 parent d91d048 commit 1cfa4f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/datasets/test_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717

1818
class CSVDataset(Dataset):
19-
def __init__(self, file_path, input_keys=None, *args, **kwargs) -> None:
20-
super().__init__(input_keys=input_keys, *args, **kwargs)
19+
def __init__(self, file_path, input_keys=None, **kwargs) -> None:
20+
super().__init__(input_keys=input_keys, **kwargs)
2121
df = pd.read_csv(file_path)
2222
data = df.to_dict(orient="records")
2323
self._train = [

0 commit comments

Comments
 (0)