Skip to content

Commit 56c108b

Browse files
Merge pull request #430 from artemrys/docs-small-fix
Fix indentation in README
2 parents b81e081 + 49a387a commit 56c108b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The SDK command-line examples require a common set of arguments that specify the
7575
#### Using username/password
7676
```python
7777
import 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):
212212
Do
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

221221
Don'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

Comments
 (0)