Skip to main content

schema_or_config_same

No overview available.

def schema_or_config_same(
obj_a: object,
obj_b: object
) - > boolean

Compares two schema or configuration objects to determine if they are functionally identical. This is used to avoid redundant updates or migrations when the underlying structure has not changed.

Parameters

NameTypeDescription
obj_aobjectThe first schema or configuration object to compare.
obj_bobjectThe second schema or configuration object to compare against the first.

Returns

TypeDescription
booleanTrue if both objects represent the same schema or configuration, False otherwise.