Squash-merge lib-standardisation: adopt repo standards across packaging, tooling, docs, and CI. - standardize pyproject.toml (canonical packaging, lint config, extras, GSDFC pydoclint) - add py.typed marker, modernize type hints and Google-style docstrings - nest generated docs under docs/lib and docs/mcp; add hand-written wiki - adopt standard Type A PyPI CI pipeline (tag==version guard + quality gate) - promote generated CHANGELOG.md; bump version to 0.0.3
13 lines
552 B
Python
13 lines
552 B
Python
from collections.abc import Iterator
|
|
from typing import Any
|
|
|
|
from mail_intake.adapters.base import MailIntakeAdapter
|
|
from mail_intake.models.message import MailIntakeMessage
|
|
from mail_intake.models.thread import MailIntakeThread
|
|
|
|
class MailIntakeReader:
|
|
def __init__(self, adapter: MailIntakeAdapter) -> None: ...
|
|
def iter_messages(self, query: str) -> Iterator[MailIntakeMessage]: ...
|
|
def iter_threads(self, query: str) -> Iterator[MailIntakeThread]: ...
|
|
def _parse_message(self, raw_message: dict[str, Any]) -> MailIntakeMessage: ...
|