Skip to content

Commit b4f655c

Browse files
author
David Noble
committed
Release 1.2.1
2 parents b319e45 + 01a0365 commit b4f655c

File tree

5 files changed

+21
-2
lines changed

5 files changed

+21
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
6. Write messages for display by the job inspector.
3838

39-
See `SearchCommand.messages_header`.
39+
See `SearchCommand.messages`.
4040

4141
* Added a feature for building modular inputs.
4242

splunklib/searchcommands/generating_command.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ class SomeGeneratingCommand(GeneratingCommand)
5656
class SomeGeneratingCommand(GeneratingCommand)
5757
...
5858
59+
:ivar input_header: :class:`InputHeader`: Collection representing the input
60+
header associated with this command invocation.
61+
62+
:ivar messages: :class:`MessagesHeader`: Collection representing the output
63+
messages header associated with this command invocation.
64+
5965
"""
6066
#region Methods
6167

splunklib/searchcommands/reporting_command.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ class ReportingCommand(SearchCommand):
4444
Configure the :meth:`reduce` operation using a Configuration decorator on
4545
your :meth:`ReportingCommand` class.
4646
47+
48+
:ivar input_header: :class:`InputHeader`: Collection representing the input
49+
header associated with this command invocation.
50+
51+
:ivar messages: :class:`MessagesHeader`: Collection representing the output
52+
messages header associated with this command invocation.
53+
4754
"""
4855
#region Methods
4956

splunklib/searchcommands/search_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ def requires_srinfo(self):
506506
information.
507507
508508
If :const:`True` the full path to a search results information file
509-
is provided by :attr:`SearchCommand.input_headers['infoPath']`.
509+
is provided by :attr:`SearchCommand.input_header['infoPath']`.
510510
511511
Default: :const:`False`
512512

splunklib/searchcommands/streaming_command.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ class SomeStreamingCommand(StreamingCommand):
5050
class SomeStreamingCommand(StreamingCommand):
5151
...
5252
53+
:ivar input_header: :class:`InputHeader`: Collection representing the input
54+
header associated with this command invocation.
55+
56+
:ivar messages: :class:`MessagesHeader`: Collection representing the output
57+
messages header associated with this command invocation.
58+
5359
"""
5460
#region Methods
5561

0 commit comments

Comments
 (0)