Adjust receiver protocol to accommodate config
This commit is contained in:
parent
09fe3b3e6c
commit
04859b8c8b
5 changed files with 32 additions and 21 deletions
|
@ -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[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue