Skip to content

Commit 499b8af

Browse files
authored
Make the linter happy
1 parent cf5a1f3 commit 499b8af

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyiceberg/table/update/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from abc import ABC, abstractmethod
2222
from datetime import datetime
2323
from functools import singledispatch
24-
from typing import TYPE_CHECKING, Annotated, Any, Dict, Generic, List, Literal, Optional, Tuple, TypeVar, Union, cast
24+
from typing import TYPE_CHECKING, Annotated, Any, Dict, Generic, List, Literal, Optional, Set, Tuple, TypeVar, Union, cast
2525

2626
from pydantic import Field, field_validator, model_validator
2727

@@ -760,9 +760,10 @@ def validate(self, base_metadata: Optional[TableMetadata]) -> None:
760760
def model_dump_json(
761761
self, exclude_none: bool = False, exclude: Optional[Set[str]] = None, by_alias: bool = True, **kwargs: Any
762762
) -> str:
763-
# `snapshot-id` is required in json response, even if null
763+
# `snapshot-id` is required in json response, even if null
764764
return super().model_dump_json(exclude_none=False)
765765

766+
766767
class AssertLastAssignedFieldId(ValidatableTableRequirement):
767768
"""The table's last assigned column id must match the requirement's `last-assigned-field-id`."""
768769

0 commit comments

Comments
 (0)