-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Description
Describe the bug
Contradicting their documentation (which doesn't mention the parameter at all), both Dataset.add_column and Dataset.add_item require a new_fingerprint string. This parameter is passed directly to the dataset constructor, which has the fingerprint parameter listed as optional; is there any reason it shouldn't be optional in these methods as well?
Steps to reproduce the bug
Reproduction steps:
- Look at the function signature for add_column:
datasets/src/datasets/arrow_dataset.py
Line 6078 in 17f40a3
def add_column( - Repeat for add_item:
datasets/src/datasets/arrow_dataset.py
Line 6336 in 17f40a3
def add_item(self, item: dict, new_fingerprint: str):
Expected behavior
add_column and add_item should either set the fingerprint parameter to optional or include it in their docstrings
Environment info
Not environment-dependent
CloseChoice
Metadata
Metadata
Assignees
Labels
No labels