Skip to content

fix: use MutableMapping for Table.update callables - #628

Closed
ltsyk wants to merge 1 commit into
msiemens:masterfrom
ltsyk:fix/table-update-callable-types
Closed

fix: use MutableMapping for Table.update callables#628
ltsyk wants to merge 1 commit into
msiemens:masterfrom
ltsyk:fix/table-update-callable-types

Conversation

@ltsyk

@ltsyk ltsyk commented Jul 30, 2026

Copy link
Copy Markdown

Summary

Table.update type for callable transforms used immutable Mapping, but transforms mutate the document.

Change

Use Callable[[MutableMapping], None].

Fixes #598

MutableMapping for update callables (issue msiemens#598)
@msiemens

msiemens commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Hey @ltsyk, this has already been fixed in #621

@msiemens msiemens closed this Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type hints for Table.update are inaccurate?

2 participants