Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
PrettyWood committed Dec 6, 2021
1 parent 07990ce commit 3251af7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/usage/model_config.md
Expand Up @@ -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!}
Expand Down

0 comments on commit 3251af7

Please sign in to comment.