Is it better practice to use dotenv.load_dotenv() or dotenv.dotenv_values(".env")?
In most examples that I've seen, people use load_dotenv(), with the os module. Is this better than simply using the dotenv_values(), which just returns a dict? Or are there times when one is more appropriate to use than the other?
I'm currently using env = dotenv_values(".env"), but wanted to see if there were reasons others tend to use load_dotenv()