Skip to content

XMLClassifier

Source code in docs_src/capo_glue/types/xml_classifier.py
class XMLClassifier(TypedDict, closed=True):
    name: "capo_glue.types.name_string.NameString"
    """<p>The name of the classifier.</p>"""
    classification: "capo_glue.types.classification.Classification"
    """<p>An identifier of the data format that the classifier matches.</p>"""
    creation_time: NotRequired["capo_glue.types.timestamp.Timestamp"]
    """<p>The time that this classifier was registered.</p>"""
    last_updated: NotRequired["capo_glue.types.timestamp.Timestamp"]
    """<p>The time that this classifier was last updated.</p>"""
    version: "capo_glue.types.version_id.VersionId"
    """<p>The version of this classifier.</p>"""
    row_tag: NotRequired["capo_glue.types.row_tag.RowTag"]
    """<p>The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by <code>/></code>). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <code><row item_a="A" item_b="B"></row></code> is okay, but <code><row item_a="A" item_b="B" /></code> is not).</p>"""

classification instance-attribute

classification: Classification

An identifier of the data format that the classifier matches.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

The time that this classifier was registered.

last_updated instance-attribute

last_updated: NotRequired[Timestamp]

The time that this classifier was last updated.

name instance-attribute

name: NameString

The name of the classifier.

row_tag instance-attribute

row_tag: NotRequired[RowTag]

The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, is okay, but is not).

version instance-attribute

version: VersionId

The version of this classifier.