add type hint for pop3.write

This commit is contained in:
Balakrishnan Balasubramanian 2023-06-28 17:48:51 -04:00
parent b9fbc9138c
commit cac6bb25f8
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ Designed for dynamic alias based workflow where a different alias is used for ea
1. [Build](#building-from-source) / Download latest release - `mail4one.pyz`
1. Generate `config.json` from [config.sample](deploy_configs/config.sample)
1. Run `./mail4one.pyz -c config.json`
1. [Optional] Setup systemd service and TLS certificates. See [deploy_configs](deploy_configs/) for examples
1. Setup systemd service and TLS certificates. See [deploy_configs](deploy_configs/) for examples
# Sending email

View File

@ -116,8 +116,8 @@ async def expect_cmd(*commands: Command) -> Request:
return req
def write(data) -> None:
logger.debug(f"Server: {data}")
def write(data: bytes) -> None:
logger.debug(f"Server: {data!r}")
state().writer.write(data)