Skip to content

Commit 8065dfe

Browse files
committed
Update parsers.py
1 parent af6a7cb commit 8065dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sssom/parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def _read_pandas_and_metadata(input: io.StringIO, sep: str | None = None):
177177
EXTENSION_TO_SEP: dict[ExtensionLiteral, str] = {"tsv": "\t", "csv": ","}
178178

179179

180-
def _infer_separator(file: PathOrIO) -> str | None:
180+
def _infer_separator(file: PathOrIO) -> Optional[str]:
181181
r"""Infer the CSV separator from a file path or IO object.
182182
183183
:param file: the file path

0 commit comments

Comments
 (0)