We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd440e commit 87b2ae0Copy full SHA for 87b2ae0
tests/table/test_init.py
@@ -1258,3 +1258,10 @@ def test_table_module_refactoring_backward_compatibility() -> None:
1258
)
1259
except Exception as exc:
1260
raise pytest.fail("Importing moved modules should not raise an exception") from exc
1261
+
1262
1263
+def test_table_update_have_corresponding_dispatch() -> None:
1264
+ from pyiceberg.table import TableUpdate, _apply_table_update
1265
+ # asser that every TableUpdate has a corresponding `_apply_table_update` dispatch function
1266
1267
+ assert len(_apply_table_update.registry) == len(TableUpdate.__origin__.__args__) # type: ignore
0 commit comments