Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pypdf/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import re
import struct
import uuid
from collections.abc import Iterable
from collections.abc import Iterable, Mapping
from io import BytesIO, FileIO, IOBase
from itertools import compress
from pathlib import Path
Expand Down Expand Up @@ -1062,7 +1062,7 @@ def _update_field_annotation(
def update_page_form_field_values(
self,
page: Union[PageObject, list[PageObject], None],
fields: dict[str, Union[str, list[str], tuple[str, str, float]]],
fields: Mapping[str, Union[str, list[str], tuple[str, str, float]]],
flags: FA.FfBits = FFBITS_NUL,
auto_regenerate: Optional[bool] = True,
flatten: bool = False,
Expand Down
Loading