Schema.matches#
- classmethod Schema.matches(other: type[Schema]) bool[source]#
Check whether this schema semantically matches another schema.
This method checks whether the schemas have the same columns (with the same data types and constraints) as well as the same rules.
- Parameters:
other – The schema to compare with.
- Returns:
Whether the schemas are semantically equal.