Skip to content

Need clarity (perhaps in documentation) regarding when a value returned from DotEnv.dict() can be None #371

@posita

Description

@posita

The return type of DotEnv.dict() is Dict[str, Optional[str]], but it's not clear under what circumstances a value would be None. I haven't delved into the parsing code, but it's not clear to me, even after looking at (e.g.) resolve_variables, parse, etc.

Under what circumstances would one expect to receive a value of None for a particular key? Can this be documented?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions