Skip to content

Commit

Permalink
Update func signature
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed May 24, 2024
1 parent 2bb6092 commit d76b1b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions faststream/confluent/client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import asyncio
import logging
from ssl import SSLContext
from time import time
from typing import (
Expand Down Expand Up @@ -111,7 +112,7 @@ def __init__(
sasl_kerberos_domain_name: Optional[str] = None,
sasl_oauth_token_provider: Optional[str] = None,
logger: Annotated[
Union["LoggerProto", None, object],
Union["LoggerProto", logging.Logger, None, object],
Doc("User specified logger to pass into Context and log service messages."),
] = logger,
) -> None:
Expand Down Expand Up @@ -306,7 +307,7 @@ def __init__(
sasl_kerberos_domain_name: Optional[str] = None,
sasl_oauth_token_provider: Optional[str] = None,
logger: Annotated[
Union["LoggerProto", None, object],
Union["LoggerProto", logging.Logger, None, object],
Doc("User specified logger to pass into Context and log service messages."),
] = logger,
) -> None:
Expand Down

0 comments on commit d76b1b2

Please sign in to comment.