10BC0 Fix ForwardRef collection bug by tigerwings · Pull Request #450 · pydantic/pydantic · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@tigerwings
Copy link
Contributor
@tigerwings tigerwings commented Apr 2, 2019

Change Summary

Fix the bug in ForwardRef collection

Related issue number

#439

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI and coverage remains at 100%
  • Documentation reflects the changes where applicable
  • HISTORY.rst has been updated
    • if this is the first change since a release, please add a new section
    • include the issue number or this pull request number #<number>
    • include your github username @<whomever>

@codecov
Copy link
codecov bot commented Apr 2, 2019

Codecov Report

Merging #450 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #450   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          14     14           
  Lines        2178   2178           
  Branches      434    434           
=====================================
  Hits         2178   2178

a: int = 123
b: Foo = None
a: int = None
b: Dict[str, FooType] = {}
Copy link
Member

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.

@skip_not_37
def test_self_forward_ref_validation(create_module):
module = create_module(
"""
Copy link
Member

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.

8000
@samuelcolvin
Copy link
Member

otherwise looks good.

@samuelcolvin samuelcolvin merged commit 085fc84 into pydantic:master Apr 3, 2019
@samuelcolvin
Copy link
Member

great, thank you.

alexdrydew pushed a commit to alexdrydew/pydantic that referenced this pull request Dec 23, 2023
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

0