We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
OnFileCallback
1 parent 8505ad4 commit c69d603Copy full SHA for c69d603
multipart/multipart.py
@@ -77,7 +77,7 @@ def __init__(self, file_name: bytes | None, field_name: bytes | None, config: Fi
77
...
78
79
OnFieldCallback = Callable[[FieldProtocol], None]
80
- OnFileCallback = Callable[[FieldProtocol], None]
+ OnFileCallback = Callable[[FileProtocol], None]
81
82
83
# Unique missing object.
0 commit comments