From ae87e1e77fc515764c8de2218a86abf7ba40cf44 Mon Sep 17 00:00:00 2001 From: Stefano Gallotti Date: Wed, 17 Nov 2021 17:31:56 -0800 Subject: [PATCH] add default to external_topic_distribution --- faust/assignor/client_assignment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faust/assignor/client_assignment.py b/faust/assignor/client_assignment.py index 3b1205f23..218ed528f 100644 --- a/faust/assignor/client_assignment.py +++ b/faust/assignor/client_assignment.py @@ -149,7 +149,7 @@ class ClientMetadata( assignment: ClientAssignment url: str changelog_distribution: HostToPartitionMap - external_topic_distribution: HostToPartitionMap + external_topic_distribution: HostToPartitionMap = cast(HostToPartitionMap, {}) topic_groups: Mapping[str, int] = cast(Mapping[str, int], None) def __post_init__(self) -> None: