Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Superseded] Move type definitions to a dedicated module #881

Closed
wants to merge 5 commits into from

Conversation

florimondmanca
Copy link
Member

Refs #789 (comment)

Also improves/fixes the typing information in the multipart stream implementation, as some of it was actually wrong.

@florimondmanca florimondmanca added the refactor Issues and PRs related to code refactoring label Mar 28, 2020
@florimondmanca florimondmanca requested a review from a team March 28, 2020 09:12
Comment on lines +284 to +285
for name, filevalue in files.items():
yield self.FileField(name=name, value=filevalue)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Different variable name to value is required of mypy would complain that the value in data doesn't have the same type as the value in files (but ideally we don't want to just use Any here).

@florimondmanca
Copy link
Member Author

Realizing that this might become largely reduced in scope once #804 is in, so let's wait…

@florimondmanca florimondmanca deleted the types-module branch April 10, 2020 19:01
@florimondmanca florimondmanca changed the title Move type definitions to a dedicated module [Superseded] Move type definitions to a dedicated module Apr 10, 2020
@florimondmanca
Copy link
Member Author

Closed in favor of #902

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues and PRs related to code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant