dotenv icon indicating copy to clipboard operation
dotenv copied to clipboard

Consider removing the .onLoad functionality

Open dshemetov opened this issue 1 year ago • 1 comments

The function in #13 is especially useful when you want to load variables, but not overwrite your env vars. This is moot due to the .onLoad function in this package, which eagerly loads the env vars. FWIW, the python-dotenv package also separates package import and the env var load.

I understand if the migration/backwards incompatibility is not worth it for the maintainers, but just want to open this idea up for your consideration at some point in the future.

dshemetov avatar Apr 14 '23 00:04 dshemetov