various #16

Merged
dan merged 94 commits from various into dev 2023-12-14 14:04:01 +01:00
Showing only changes of commit 1160f769fc - Show all commits

View file

@ -97,10 +97,10 @@ def URL(env_config: dict[str, str]) -> BaseUrl:
def imap_client() -> Generator[Imbox, None, None]: def imap_client() -> Generator[Imbox, None, None]:
"""imap email client using credentials from environment variables""" """imap email client using credentials from environment variables"""
assert os.environ["IMAP_HOST"] assert os.environ["IMAP_HOST"], "required environment variable is undefined"
assert os.environ["IMAP_PORT"] assert os.environ["IMAP_PORT"], "required environment variable is undefined"
assert os.environ["IMAP_USER"] assert os.environ["IMAP_USER"], "required environment variable is undefined"
assert os.environ["IMAP_PASS"] assert os.environ["IMAP_PASS"], "required environment variable is undefined"
imbox = Imbox( imbox = Imbox(
hostname=os.environ["IMAP_HOST"], hostname=os.environ["IMAP_HOST"],