Skip to content

Commit 72f6ab6

Browse files
committed
Update parsers.py
1 parent 21266ff commit 72f6ab6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/sssom/parsers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ def parse_sssom_table(
290290
meta: Optional[MetadataType] = None,
291291
*,
292292
strict: bool = False,
293+
**kwargs: Any,
293294
) -> MappingSetDataFrame:
294295
"""Parse a SSSOM TSV.
295296
@@ -304,9 +305,13 @@ def parse_sssom_table(
304305
companion SSSOM YAML file.
305306
:param strict:
306307
If true, will fail parsing for undefined prefixes, CURIEs, or IRIs
308+
:param kwargs:
309+
Additional keyword arguments (unhandled)
307310
:returns:
308311
A parsed dataframe wrapper object
309312
"""
313+
if kwargs:
314+
logging.warning("unhandled keyword arguments passed: %s", kwargs)
310315
if isinstance(file_path, Path) or isinstance(file_path, str):
311316
raise_for_bad_path(file_path)
312317
stream: io.StringIO = _open_input(file_path)

0 commit comments

Comments
 (0)