Skip to content

Commit 87fa312

Browse files
committed
Remove **kwargs as they are not needed for the time being
1 parent 3f07eea commit 87fa312

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

intake_esm/core.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ESMMetadataStoreCatalog(Catalog):
3434
collection_types = {'cesm': CESMCollection, 'cmip': CMIPCollection}
3535

3636
def __init__(
37-
self, collection_input_file=None, collection_name=None, collection_type=None, **kwargs
37+
self, collection_input_file=None, collection_name=None, collection_type=None, metadata=None
3838
):
3939
"""
4040
Parameters
@@ -51,6 +51,9 @@ def __init__(
5151
- `cesm`
5252
- `cmip`
5353
54+
metadata : dict
55+
Arbitrary information to carry along with the data collection source specs.
56+
5457
5558
"""
5659
self.collections = {}
@@ -68,7 +71,7 @@ def __init__(
6871
"Cannot instantiate class with provided arguments. Please provide either 'collection_input_file' \
6972
\n\t\tor 'collection_name' and 'collection_type' "
7073
)
71-
super(ESMMetadataStoreCatalog, self).__init__(**kwargs)
74+
super(ESMMetadataStoreCatalog, self).__init__(metadata)
7275
if self.metadata is None:
7376
self.metadata = {}
7477

0 commit comments

Comments
 (0)