Files
pydantic/tests
Charlie Hornsby cd439a4e8d fix: access discriminator field on BaseModel instance using key (#3847)
When validating a discriminated union where the union value has been
passed as a Pydantic model instance, we should access the discriminator
field value using the field name and not the field alias (whether one is
set or not).
2022-08-08 14:43:23 +01:00
..
2017-05-03 22:23:41 +01:00
2020-03-21 18:14:17 +00:00
2019-06-21 12:32:03 +01:00
2022-01-02 13:53:45 +00:00
2022-07-06 08:52:01 +02:00
2022-07-06 08:52:01 +02:00
2022-07-06 08:52:01 +02:00
2022-07-06 08:52:01 +02:00