TypeSystem.update_relationship(logical_type, parent)[source]#

Add or update a relationship. If the specified LogicalType exists in the relationship graph, its parent will be updated. If the specified LogicalType does not exist in relationships, the relationship will be added.

  • logical_type (LogicalType) – The LogicalType for which to update the parent value.

  • parent (LogicalType) – The new parent to set for the specified LogicalType.