Adjust receiver protocol to accommodate config

This commit is contained in:
Danielle McLean 2024-07-11 12:15:34 +10:00
parent 09fe3b3e6c
commit 04859b8c8b
Signed by: 00dani
GPG key ID: 6854781A0488421C
5 changed files with 32 additions and 21 deletions

View file

@ -21,7 +21,7 @@ class BaseReceiverConfig(Protocol):
@dataclass(slots=True)
class CocoaReceiverConfig(BaseReceiverConfig):
kind: Literal["cocoa"] = "cocoa"
kind: Literal["cocoa"] = field(default="cocoa", repr=False)
ReceiverConfig = Annotated[