@@ -75,7 +75,7 @@ The SDK command-line examples require a common set of arguments that specify the
7575#### Using username/password
7676``` python
7777import splunklib.client as client
78- service = client.connect(host = < host_url> , username = < username> , password = < password> , autologin = True )
78+ service = client.connect(host = < host_url> , username = < username> , password = < password> , autologin = True )
7979```
8080
8181#### Using bearer token
@@ -212,19 +212,19 @@ class CustomStreamingCommand(StreamingCommand):
212212Do
213213``` python
214214@Configuration ()
215- class GeneratorTest (GeneratingCommand ):
216- def generate (self ):
217- yield self .gen_record(_time = time.time(), one = 1 )
218- yield self .gen_record(_time = time.time(), two = 2 )
215+ class GeneratorTest (GeneratingCommand ):
216+ def generate (self ):
217+ yield self .gen_record(_time = time.time(), one = 1 )
218+ yield self .gen_record(_time = time.time(), two = 2 )
219219```
220220
221221Don't
222222``` python
223223@Configuration ()
224- class GeneratorTest (GeneratingCommand ):
225- def generate (self ):
226- yield {' _time' : time.time(), ' one' : 1 }
227- yield {' _time' : time.time(), ' two' : 2 }
224+ class GeneratorTest (GeneratingCommand ):
225+ def generate (self ):
226+ yield {' _time' : time.time(), ' one' : 1 }
227+ yield {' _time' : time.time(), ' two' : 2 }
228228```
229229
230230### Access metadata of modular inputs app
0 commit comments