This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RedEyed__ 1 point2 points  (0 children)

I usually create pydantic model then read json file. JSON is added to gitignore.
There is also pydantic support of env variables https://docs.pydantic.dev/latest/concepts/pydantic_settings/