Skip to main content

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:

default​

default: PropertyStrategy = PropertyStrategy.KEEP_FIRST

rules​

rules: dict[str, PropertyRule] = field(default_factory=dict)