Changed
Added
- The
dotenv_path
argument ofset_key
andunset_key
now has a type ofUnion[str, os.PathLike]
instead of justos.PathLike
(#347 by @bbc2). - The
stream
argument ofload_dotenv
anddotenv_values
can now be a text stream (IO[str]
), which includes values likeio.StringIO("foo")
andopen("file.env", "r")
(#348 by @bbc2).