Skip to content

Commit a41047e

Browse files
committed
change type.
1 parent eb03a1c commit a41047e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchaudio/datasets/speechcommands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(self,
5858
url: str = URL,
5959
folder_in_archive: str = FOLDER_IN_ARCHIVE,
6060
download: bool = False,
61-
subset: str = None,
61+
subset: Optional[str] = None,
6262
) -> None:
6363

6464
assert subset is None or subset in ["training", "validation", "testing"], (

0 commit comments

Comments
 (0)