Files
pydantic/docs/examples
Timon Ruban f08fd2fee7 Add support for Type[T] typehints when arbitrary_types_allowed==True. (#808)
* Add support for Type[T] typehints when arbitrary_types_allowe==True.

* Add documentation.

* Let black do its magic.

* Ignore mypy warning - see here: https://github.com/python/mypy/issues/3060

* Prettify docs.

* Change Changelog.

* Refactor and simplify check for Type[T].

* Black again. ^^ - Really need pre-commit hooks.

* Update pydantic/validators.py

Co-Authored-By: Samuel Colvin <samcolvin@gmail.com>

* Rename arbitrary_class to class.

* Black.

* Add type hints.

* Make private function public.

* Add support for bare Type.

* Black again.

* Update docs.

* CO_ct not meant for export.

* Fix get_class for Python3.6

* Update error message of ClassError.

* Use relative import.

* Incorporate typing feedback (both versions are fine with mypy).

* Move from issubclass to lenient_issubclass.

* correct docs
2019-09-16 10:42:40 +01:00
..
2019-08-10 12:00:29 +01:00
2018-08-25 17:06:32 +01:00
2018-02-06 13:56:45 +00:00
2019-05-22 13:14:35 +01:00
2018-10-01 09:48:28 +01:00
2018-08-29 10:38:02 +01:00
2019-08-21 13:13:46 +01:00
2018-06-04 10:55:48 +01:00
2019-09-02 11:37:33 +01:00
2019-07-23 16:40:28 +01:00
2019-07-23 16:40:28 +01:00
2019-07-23 16:40:28 +01:00
2017-06-21 18:15:08 +01:00
2018-06-18 12:20:10 +01:00
2019-08-05 09:47:15 -05:00
2017-11-07 11:26:16 +00:00
2019-09-02 11:37:33 +01:00
2019-09-02 11:37:33 +01:00
2019-09-02 11:37:33 +01:00
2017-11-08 14:37:01 +00:00
2018-06-24 17:52:56 +01:00