File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1111proxypid
1212proxy.log
1313MANIFEST
14+ coverage_report
Original file line number Diff line number Diff line change @@ -285,7 +285,16 @@ def connect(**kwargs):
285285 """
286286 return Service (** kwargs ).login ()
287287
288- class Service (Context ):
288+ # In preparation for adding Storm support, we added an
289+ # intermediary class between Service and Context. Storm's
290+ # API is not going to be the same as enterprise Splunk's
291+ # API, so we will derive both Service (for enterprise Splunk)
292+ # and StormService for (Splunk Storm) from _BaseService, and
293+ # put any shared behavior on it.
294+ class _BaseService (Context ):
295+ pass
296+
297+ class Service (_BaseService ):
289298 """A Pythonic binding to Splunk instances.
290299
291300 A :class:`Service` represents a binding to a Splunk instane on an
@@ -334,7 +343,7 @@ class Service(Context):
334343 s = client.Service(token="atg232342aa34324a")
335344 """
336345 def __init__ (self , ** kwargs ):
337- Context .__init__ (self , ** kwargs )
346+ super ( Service , self ) .__init__ (self , ** kwargs )
338347 self ._splunk_version = None
339348
340349 @property
You can’t perform that action at this time.
0 commit comments