You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and we try to pass a list[Action] to actions then Mypy will complain: Argument "actions" to "bulk" has incompatible type "list[Action]"; expected "Iterable[bytes | str | dict[str, Any]]"
Changing Dict to Mapping would resolve this issue.
Implemented in draft PR #3496: #3496. The change broadens bulk action inputs to Mapping, materializes a dict before existing mutation logic, and adds sync/async strict-mypy fixtures plus a MappingProxyType regression test.
Activity
lh0156 commentedon Jul 26, 2026
Implemented in draft PR #3496: #3496. The change broadens bulk action inputs to Mapping, materializes a dict before existing mutation logic, and adds sync/async strict-mypy fixtures plus a MappingProxyType regression test.