-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Fix ForwardRef collection bug #450
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
Fix ForwardRef collection bug #450
Conversation
Codecov Report
@@ Coverage Diff @@
## master #450 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 14 14
Lines 2178 2178
Branches 434 434
=====================================
Hits 2178 2178 |
docs/examples/forward_ref.py
Outdated
| a: int = 123 | ||
| b: Foo = None | ||
| a: int = None | ||
| b: Dict[str, FooType] = {} |
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.
No need to change the example, unless otherwise required examples should be as simple as possible.
tests/test_py37.py
Outdated
| @skip_not_37 | ||
| def test_self_forward_ref_validation(create_module): | ||
| module = create_module( | ||
| """ |
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.
If this string is identical to above, please define it once and reuse.
|
otherwise looks good. |
|
great, thank you. |
Change Summary
Fix the bug in ForwardRef collection
Related issue number
#439
Checklist
HISTORY.rsthas been updated#<number>@<whomever>