Module TryExcept body Import alias identifier handlers ExceptHandler type NameLoad name NameStore body Import alias identifier ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Return BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str orelse Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad decorator_list
N/A N/A N/A N/A xml.etree.cElementTree ET N/A N/A N/A ImportError N/A ie N/A N/A xml.etree.ElementTree ET utils parse_xml_data ValidationDefinition N/A object N/A N/A This class represents the XML sent by Splunk for external validation of a
    new modular input.

    **Example**::

    ``v = ValidationDefinition()``

     __init__ N/A N/A self N/A N/A N/A N/A self metadata N/A N/A N/A self parameters N/A N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other ValidationDefinition N/A N/A False N/A N/A N/A N/A self metadata N/A other metadata N/A N/A self parameters N/A other parameters N/A parse N/A N/A stream N/A N/A N/A Creates a ``ValidationDefinition`` from a provided stream containing XML.

        The XML typically will look like this:

        ``<items>``
        ``   <server_host>myHost</server_host>``
        ``     <server_uri>https://127.0.0.1:8089</server_uri>``
        ``     <session_key>123102983109283019283</session_key>``
        ``     <checkpoint_dir>/opt/splunk/var/lib/splunk/modinputs</checkpoint_dir>``
        ``     <item name="myScheme">``
        ``       <param name="param1">value1</param>``
        ``       <param_list name="param2">``
        ``         <value>value2</value>``
        ``         <value>value3</value>``
        ``         <value>value4</value>``
        ``       </param_list>``
        ``     </item>``
        ``</items>``

        :param stream: ``Stream`` containing XML to parse.
        :return definition: A ``ValidationDefinition`` object.

         N/A definition N/A ValidationDefinition N/A root N/A N/A N/A N/A ET parse stream getroot N/A node root N/A N/A N/A N/A node tag item N/A N/A N/A N/A definition metadata N/A name N/A N/A node get name N/A N/A definition parameters N/A parse_xml_data node N/A N/A N/A N/A definition metadata N/A N/A node tag N/A node text N/A definition N/A staticmethod N/A