Skip to content

Commit

Permalink
Fix mypy failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Jun 10, 2024
1 parent 62f0ee7 commit 3ab0457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions faststream/confluent/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def __init__(
) -> None:
self.logger = logger

self.config = {} if config is None else config
self.config: Dict[str, Any] = {} if config is None else dict(config)

if isinstance(bootstrap_servers, Iterable) and not isinstance(
bootstrap_servers, str
Expand Down Expand Up @@ -317,7 +317,7 @@ def __init__(
) -> None:
self.logger = logger

self.config = {} if config is None else config
self.config: Dict[str, Any] = {} if config is None else dict(config)

if group_id is None:
group_id = "confluent-kafka-consumer-group"
Expand Down

0 comments on commit 3ab0457

Please sign in to comment.