diff options
author | 2023-07-31 17:45:33 +0100 | |
---|---|---|
committer | 2023-08-11 15:53:27 +0100 | |
commit | 505c377a5a333104e6ffff95d4a2bf007097abd4 (patch) | |
tree | 0bf5d4e3c6a8afa6e6823b61580a98dfb4a34ada /botstrap.py | |
parent | Replace deprecated functions with new pydantic v2 functions (diff) |
Use a custom type coercion function as pydantic removed their's
https://docs.pydantic.dev/latest/migration/#changes-to-handling-of-standard-types
> While union types will still attempt validation of each choice from left to right, they now preserve the type of the input whenever possible, even if the correct type is not the first choice for which the input would pass validation
Diffstat (limited to 'botstrap.py')
0 files changed, 0 insertions, 0 deletions