Skip to content

DivergentField

Source code in docs_src/capo_opensearch/types/divergent_field.py
class DivergentField(TypedDict, closed=True):
    path: NotRequired["capo_opensearch.types.diff_field_path.DiffFieldPath"]
    """<p>The location of the field within the item.</p>"""
    source_value: NotRequired["capo_opensearch.types.diff_field_value.DiffFieldValue"]
    """<p>The field's value on the source domain.</p>"""
    target_value: NotRequired["capo_opensearch.types.diff_field_value.DiffFieldValue"]
    """<p>The field's value on the target domain.</p>"""
    policy: NotRequired["capo_opensearch.types.diff_field_policy.DiffFieldPolicy"]
    """<p>How the comparison treats this field.</p>"""

path instance-attribute

path: NotRequired[DiffFieldPath]

The location of the field within the item.

policy instance-attribute

policy: NotRequired[DiffFieldPolicy]

How the comparison treats this field.

source_value instance-attribute

source_value: NotRequired[DiffFieldValue]

The field's value on the source domain.

target_value instance-attribute

target_value: NotRequired[DiffFieldValue]

The field's value on the target domain.