Skip to content

Commit

Permalink
Update function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed May 24, 2024
1 parent d76b1b2 commit 64b0704
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions faststream/confluent/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from ssl import SSLContext
from time import time
from typing import (
TYPE_CHECKING,
Any,
Callable,
Dict,
Expand All @@ -23,9 +22,6 @@
from faststream.log import logger
from faststream.utils.functions import call_or_await

if TYPE_CHECKING:
from faststream.types import LoggerProto

_missing = object()


Expand Down Expand Up @@ -112,7 +108,7 @@ def __init__(
sasl_kerberos_domain_name: Optional[str] = None,
sasl_oauth_token_provider: Optional[str] = None,
logger: Annotated[
Union["LoggerProto", logging.Logger, None, object],
Union[logging.Logger, None, object],
Doc("User specified logger to pass into Context and log service messages."),
] = logger,
) -> None:
Expand Down Expand Up @@ -307,7 +303,7 @@ def __init__(
sasl_kerberos_domain_name: Optional[str] = None,
sasl_oauth_token_provider: Optional[str] = None,
logger: Annotated[
Union["LoggerProto", logging.Logger, None, object],
Union[logging.Logger, None, object],
Doc("User specified logger to pass into Context and log service messages."),
] = logger,
) -> None:
Expand Down

0 comments on commit 64b0704

Please sign in to comment.