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 d8bc1ca commit d475e62Copy full SHA for d475e62
tests/table/test_init.py
@@ -1154,3 +1154,10 @@ def test_serialize_commit_table_request() -> None:
1154
1155
deserialized_request = CommitTableRequest.model_validate_json(request.model_dump_json())
1156
assert request == deserialized_request
1157
+
1158
1159
+def test_table_update_have_corresponding_dispatch() -> None:
1160
+ from pyiceberg.table import TableUpdate, _apply_table_update
1161
+ # every TableUpdate should have a corresponding `_apply_table_update` dispatch function
1162
1163
+ assert len(_apply_table_update.registry) == len(TableUpdate.__origin__.__args__) # type: ignore
0 commit comments