Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.7k
feat: restore type checking portion of code generation#5198
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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.
Looks good. Along with#5199 this seems to fix syntax highlighting in VSCode on my machine.
{repr(rel_classes)} | ||
) | ||
from typing import TYPE_CHECKING | ||
if sys.version_info < (3, 7) or TYPE_CHECKING: |
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.
We don't needsys.version_info < (3, 7)
anymore - our minimum is past that. Which means we may not needimport sys
anymore either.
closed in favor of#5199 |
Uh oh!
There was an error while loading.Please reload this page.