Currently our settings file is just ... well, it's just a settings file. To change settings, users need to do it directly in their code by importing the file and doing settings.thing_to_change = new_value. That's a little weird.
If we use pydantic's Settings Management, we could at least easily grab things from the environment, which would allow users to set things in a much more typical way. Users could set the variables as part of the call on the commandline, or use tools like python-dotenv to seed their environment with settings.
Currently our settings file is just ... well, it's just a settings file. To change settings, users need to do it directly in their code by importing the file and doing
settings.thing_to_change = new_value
. That's a little weird.If we use
pydantic
's Settings Management, we could at least easily grab things from the environment, which would allow users to set things in a much more typical way. Users could set the variables as part of the call on the commandline, or use tools like python-dotenv to seed their environment with settings.