13 lines
355 B
Python
13 lines
355 B
Python
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from typing import Protocol, runtime_checkable
|
||
|
|
|
||
|
|
|
||
|
|
@runtime_checkable
|
||
|
|
class ChannelSetupProtocol(Protocol):
|
||
|
|
async def apply_account_config(self, config: dict) -> None: ...
|
||
|
|
|
||
|
|
async def validate_account_input(self, input_: dict) -> list[str]: ...
|
||
|
|
|
||
|
|
async def after_config_written(self, config: dict) -> None: ...
|