-
Notifications
You must be signed in to change notification settings - Fork 243
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
Add --disable-cache flag #2143
Add --disable-cache flag #2143
Conversation
return None | ||
|
||
def get_all(self) -> Generator[Tuple[Dict, Dict], None, None]: | ||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This return shouldn't be there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return
yield
is actually correct and typechecks, as explained here. yield
alone fails typechecking. Also, mypy is okay with this version, whereas the alternatives suggested in the link fail mypy typechecking.
08ffd4c
to
a6fc79a
Compare
@percyliang This is ready for review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
Fixes #2016
Addresses #1914