Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of fwd-reference in get_type_hints. Closes #3519
- Loading branch information
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
RELEASE_TYPE: minor | ||
|
||
This release improves Hypothesis' ability to resolve forward references in | ||
type annotations. It fixes a bug that prevented | ||
:func:`~hypothesis.strategies.builds` from being used with `pydantic models that | ||
possess updated forward references <https://pydantic-docs.helpmanual.io/usage/postponed_annotations/>`__. See :issue:`3519`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters