Skip to content

Only import types from grpclib when type checking #52

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

Merged
merged 2 commits into from
May 24, 2020

Conversation

nat-n
Copy link
Collaborator

@nat-n nat-n commented May 22, 2020

#37 This speeds up initial import and reduces the memory foot print.

Also ran black.

@nat-n nat-n requested a review from cetanu May 22, 2020 16:50
@nat-n nat-n changed the title #37 Only import types from grpclib when type checking Only import types from grpclib when type checking May 22, 2020
@boukeversteegh
Copy link
Collaborator

Great! Looks like a low hanging fruit~ unfortunately the reformatting will cause merge conflicts in all other open PR's so I would suggest to either revert the blackening here or update the pr after the other branches are merged.

@nat-n nat-n merged commit 0fe557b into danielgtaylor:master May 24, 2020
@nat-n nat-n deleted the fix_type_imports branch May 24, 2020 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants