agrag.ingestion.merge.PropertyRules
PropertyRules(rules:dict[str, PropertyRule] = dict(), default:PropertyStrategy = PropertyStrategy.KEEP_FIRST) -> None
Per-property conflict resolution, with a default for unlisted properties.
Attributes:
- rules (
dict[str, PropertyRule]) – Property name to resolver, for properties needing a specific rule. - default (
PropertyStrategy) – Strategy applied to a property with no entry in rules.
default
default: PropertyStrategy = PropertyStrategy.KEEP_FIRST
rules
rules: dict[str, PropertyRule] = field(default_factory=dict)