Skip to content

Commit 09936cb

Browse files
committed
Chore: Drop unnecessary type: ignore in Snowflake Iceberg alter test
mypy does not require the assignment ignore on the patched columns lambda. Signed-off-by: Guillem G <guillem.gimenez@titanos.tv>
1 parent 2f0404c commit 09936cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/core/engine_adapter/test_snowflake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ def test_alter_table_iceberg(mocker: MockerFixture, make_mocked_engine_adapter:
10321032

10331033
current_table = {"a": "INT"}
10341034
target_table = {"a": "INT", "b": "INT"}
1035-
adapter.columns = lambda table_name, **kwargs: { # type: ignore[assignment]
1035+
adapter.columns = lambda table_name, **kwargs: {
10361036
k: exp.DataType.build(v)
10371037
for k, v in (current_table if table_name == "test_table" else target_table).items()
10381038
}

0 commit comments

Comments
 (0)