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 0fab7b1 commit 776c433Copy full SHA for 776c433
pyiceberg/table/__init__.py
@@ -1704,6 +1704,8 @@ def update(self: S, **overrides: Any) -> S:
1704
"""Create a copy of this table scan with updated fields."""
1705
from inspect import signature
1706
1707
+ # Extract those attributes that are constructor parameters. We don't use self.__dict__ as the kwargs to the
1708
+ # constructors because it may contain additional attributes that are not part of the constructor signature.
1709
params = signature(type(self).__init__).parameters.keys() - {"self"} # Skip "self" parameter
1710
kwargs = {param: getattr(self, param) for param in params} # Assume parameters are attributes
1711
0 commit comments