Skip to content

Commit

Permalink
add default to external_topic_distribution (faust-streaming#222)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefano Gallotti <sgallotti@expediagroup.com>
  • Loading branch information
Stegallo and Stefano Gallotti authored Nov 18, 2021
1 parent 2b4f7eb commit 23c2d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faust/assignor/client_assignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 23c2d90

Please sign in to comment.