File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -2170,7 +2170,9 @@ def itemmeta(self, kind):
21702170 content = _load_atom (response , MATCH_ENTRY_CONTENT )
21712171 return _parse_atom_metadata (content )
21722172
2173- def _get_kind_list (self , subpath = []):
2173+ def _get_kind_list (self , subpath = None ):
2174+ if subpath is None :
2175+ subpath = []
21742176 kinds = []
21752177 response = self .get ('/' .join (subpath ))
21762178 content = _load_atom_entries (response )
@@ -2187,11 +2189,8 @@ def _get_kind_list(self, subpath=[]):
21872189 return kinds
21882190
21892191 @property
2190- def kinds (self , subpath = []):
2191- """Returns the input kinds for a given path.
2192-
2193- :param subpath: The relative endpoint path.
2194- :type subpath: ``string``
2192+ def kinds (self ):
2193+ """Returns the input kinds on this Splunk instance.
21952194
21962195 :return: The list of input kinds.
21972196 :rtype: ``list``
You can’t perform that action at this time.
0 commit comments