Commit Graph

4 Commits

Author SHA1 Message Date
Sebastián Ramírez 63afb45d71 Update sub_types when calling update_forward_refs() (#464)
* Update sub_types when calling update_forward_refs(), fix #404

* Update History

* Handle deeply nested ForwardRef types in sub_types using recursion

* Move update_field_forward_refs to utils.py
2019-04-11 16:08:35 +01:00
tigerwings 085fc84818 Fix ForwardRef collection bug (#450)
* fix ForwardRef collection bug, fix #439

* reformat codes

* minor document error

* add HISTORY.rst and simplified unit test

* restore the original example for ForwardRef
2019-04-03 11:14:11 +01:00
Samuel Colvin 1161df3ca0 support ForwardRef on dataclasses (#399)
* support ForwardRef on dataclasses, fix #397

* explicit docs about when postponed annotations don't work
2019-02-18 08:41:35 +00:00
Samuel Colvin 25b5d98030 support postponed annotations and ForwardRef in python 3.7 (#348)
* support postponed annotations in python 3.7

* support for full ForwardRef

* tweak update_forward_refs

* better ForwardRef resolution

* remove debug, fix linting

* fix comments

* docs and history
2019-01-11 21:01:07 +00:00