Closed jashuajoy closed 4 months ago
Thanks for the contribution!
The ability to override the env with an argument pointed out by @paulpalmieri https://github.com/lavague-ai/LaVague/issues/474#issuecomment-2253091238 could be a great addition.
You can keep the log_to_db
argument in the run
method and change its default value to the one from env:
log_to_db: bool = os.getenv("LAVAGUE_LOG_TO_DB", "").lower() in ("true", "1", "y", "yes")
for #474