Skip to content

Commit 8265387

Browse files
committed
Imply in another detect() when kwargs aren't used.
1 parent 2e8905d commit 8265387

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Diff for: python/lib/core/dmod/core/data_domain_detectors.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -348,16 +348,10 @@ def __init__(self, *, data_collection: DataCollection, collection_name: Optional
348348
if collection_name is None and isinstance(data_collection, Dataset):
349349
self._collection_name = data_collection.name
350350

351-
def detect(self, **kwargs) -> DataDomain:
351+
def detect(self, **_) -> DataDomain:
352352
"""
353353
Detect and return the data domain.
354354
355-
Parameters
356-
----------
357-
kwargs
358-
Optional kwargs applicable to the subtype, which may enhance or add to the domain detection and generation
359-
capabilities, but which should not be required to produce a valid domain.
360-
361355
Notes
362356
-----
363357
Detection is performed by merging individual item domains detected using :class:`U` instances. This type does

0 commit comments

Comments
 (0)