(
self,
dotenv_path: Optional[StrPath],
stream: Optional[IO[str]] = None,
verbose: bool = False,
encoding: Optional[str] = None,
interpolate: bool = True,
override: bool = True,
)
| 33 | |
| 34 | class DotEnv: |
| 35 | def __init__( |
| 36 | self, |
| 37 | dotenv_path: Optional[StrPath], |
| 38 | stream: Optional[IO[str]] = None, |
| 39 | verbose: bool = False, |
| 40 | encoding: Optional[str] = None, |
| 41 | interpolate: bool = True, |
| 42 | override: bool = True, |
| 43 | ) -> None: |
| 44 | self.dotenv_path: Optional[StrPath] = dotenv_path |
| 45 | self.stream: Optional[IO[str]] = stream |
| 46 | self._dict: Optional[Dict[str, Optional[str]]] = None |
| 47 | self.verbose: bool = verbose |
| 48 | self.encoding: Optional[str] = encoding |
| 49 | self.interpolate: bool = interpolate |
| 50 | self.override: bool = override |
| 51 | |
| 52 | @contextmanager |
| 53 | def _get_stream(self) -> Iterator[IO[str]]: |
nothing calls this directly
no outgoing calls
no test coverage detected