File size: 383 Bytes
bbdb110 |
1 2 3 4 5 6 7 8 9 10 11 |
import contextlib
from collections.abc import Iterator
class Env:
def __init__(self) -> None: ...
def read_env(self) -> None: ...
@contextlib.contextmanager
def prefixed(self, prefix: str) -> Iterator[Env]: ...
def bool(self, name: str, default: bool | None = None) -> bool | None: ...
def str(self, name: str, default: str | None = None) -> str | None: ...
|