From 3251af732b4b8977c2642a49bee3058e4e2363dd Mon Sep 17 00:00:00 2001 From: PrettyWood Date: Mon, 6 Dec 2021 21:40:09 +0100 Subject: [PATCH] fix doc --- docs/usage/model_config.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/usage/model_config.md b/docs/usage/model_config.md index d128a00c56f..a3f55fec90c 100644 --- a/docs/usage/model_config.md +++ b/docs/usage/model_config.md @@ -187,9 +187,8 @@ Know that this is of course slower, especially if your `Union` is quite big. _(This script is complete, it should run "as is")_ !!! warning - -Note that this option **does not support compound types yet** (e.g. differentiate `List[int]` and `List[str]`). -This option will be improved further once a strict mode is added in _pydantic_ and will probably be the default behaviour in v2! + Note that this option **does not support compound types yet** (e.g. differentiate `List[int]` and `List[str]`). + This option will be improved further once a strict mode is added in _pydantic_ and will probably be the default behaviour in v2! ```py {!.tmp_examples/model_config_smart_union_on_edge_case.py!}