add type hint for pop3.write
This commit is contained in:
parent
b9fbc9138c
commit
e1a78d560d
@ -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. [Build](#building-from-source) / Download latest release - `mail4one.pyz`
|
||||||
1. Generate `config.json` from [config.sample](deploy_configs/config.sample)
|
1. Generate `config.json` from [config.sample](deploy_configs/config.sample)
|
||||||
1. Run `./mail4one.pyz -c config.json`
|
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
|
# Sending email
|
||||||
|
|
||||||
|
@ -116,8 +116,8 @@ async def expect_cmd(*commands: Command) -> Request:
|
|||||||
return req
|
return req
|
||||||
|
|
||||||
|
|
||||||
def write(data) -> None:
|
def write(data: bytes) -> None:
|
||||||
logger.debug(f"Server: {data}")
|
logger.debug(f"Server: {data!r}")
|
||||||
state().writer.write(data)
|
state().writer.write(data)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user