Skip to content

Commit

Permalink
Fix OnFileCallback type (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex authored Feb 10, 2024
1 parent 8505ad4 commit c69d603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multipart/multipart.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, file_name: bytes | None, field_name: bytes | None, config: Fi
...

OnFieldCallback = Callable[[FieldProtocol], None]
OnFileCallback = Callable[[FieldProtocol], None]
OnFileCallback = Callable[[FileProtocol], None]


# Unique missing object.
Expand Down

0 comments on commit c69d603

Please sign in to comment.