Replies: 1 comment 1 reply
-
Hi @vidhav Sorry I moved this to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I try to pass a list of properties in my configuration:
I get the following error from Pydantic:
I believe this is because Pydantic settings only parses JSON in the top-level (as stated in the docs):
In this case, the values are nested and validated with a
TypedDict
(see the code). For this to work, the code may need to be refactored to beBaseSettings
with a custom validator to handle the parsing...Beta Was this translation helpful? Give feedback.
All reactions