plpilew
Results
2
comments of
plpilew
As a workaround for this problem I used dict with integer key instead of a list: ``` class SubType(BaseSettings): v1 :str class Config(Settings): top: dict[int, SubType] ``` Then I can...
> [@plpilew](https://github.com/plpilew) please see [my comment](https://github.com/pydantic/pydantic/discussions/4635#discussioncomment-12352910) that has the benefit of being a list. I tried this approach but could not use it for my scenario which is: 1. My...