Skip to content

Rule

Source code in docs_src/capo_entityresolution/types/rule.py
class Rule(TypedDict, closed=True):
    rule_name: "str"
    """<p>A name for the matching rule.</p>"""
    matching_keys: "capo_entityresolution.types.matching_keys.MatchingKeys"
    """<p>A list of <code>MatchingKeys</code>. The <code>MatchingKeys</code> must have been defined in the <code>SchemaMapping</code>. Two records are considered to match according to this rule if all of the <code>MatchingKeys</code> match.</p>"""

matching_keys instance-attribute

matching_keys: MatchingKeys

A list of MatchingKeys. The MatchingKeys must have been defined in the SchemaMapping. Two records are considered to match according to this rule if all of the MatchingKeys match.

rule_name instance-attribute

rule_name: str

A name for the matching rule.