Enable Config.smart_union for spectree
parent
22040f47a0
commit
36591726b9
|
@ -24,4 +24,4 @@ class BaseModel(pydantic.v1.BaseModel):
|
||||||
class Config:
|
class Config:
|
||||||
alias_generator = to_camel
|
alias_generator = to_camel
|
||||||
allow_population_by_field_name = True
|
allow_population_by_field_name = True
|
||||||
|
smart_union = True
|
||||||
|
|
Loading…
Reference in New Issue