Pierre Chapuis
add stuff to help with local development
bbdb110 unverified
raw
history blame contribute delete
383 Bytes
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: ...