We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b46e45 commit 180fa37Copy full SHA for 180fa37
splunklib/client.py
@@ -1549,6 +1549,10 @@ def __init__(self, service):
1549
raise ValueError("Configurations cannot have wildcards in namespace.")
1550
1551
def __getitem__(self, key):
1552
+ # The superclass implementation is designed for collections that contain
1553
+ # entities. This collection (Configurations) contains collections
1554
+ # (ConfigurationFile).
1555
+ #
1556
# The configurations endpoint returns multiple entities when we ask for a single file.
1557
# This screws up the default implementation of __getitem__ from Collection, which thinks
1558
# that multiple entities means a name collision, so we have to override it here.
0 commit comments