Skip to content

Commit c69d603

Browse files
authored
Fix OnFileCallback type (#106)
1 parent 8505ad4 commit c69d603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multipart/multipart.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(self, file_name: bytes | None, field_name: bytes | None, config: Fi
7777
...
7878

7979
OnFieldCallback = Callable[[FieldProtocol], None]
80-
OnFileCallback = Callable[[FieldProtocol], None]
80+
OnFileCallback = Callable[[FileProtocol], None]
8181

8282

8383
# Unique missing object.

0 commit comments

Comments
 (0)