SchemaDiff

class felis.diff.SchemaDiff(schema1, schema2)

Bases: object

Compare two schemas using DeepDiff and print the differences.

Parameters:
  • schema1 (Schema) – The first schema to compare.

  • schema2 (Schema) – The second schema to compare.

Attributes Summary

has_changes

Check if there are any differences between the two schemas.

Methods Summary

print()

Print the differences between the two schemas.

Attributes Documentation

has_changes

Check if there are any differences between the two schemas.

Returns:

True if there are differences, False otherwise.

Return type:

bool

Methods Documentation

print()

Print the differences between the two schemas.

Return type:

None