Skip to content

Commit afacd37

Browse files
committed
Consistent naming (was my fault I guess)
1 parent ff9372b commit afacd37

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
from .server import ServerInterceptor # noqa: F401
2-
from .client import SentryClientInterceptor # noqa: F401
2+
from .client import ClientInterceptor # noqa: F401

sentry_sdk/integrations/grpc/aio/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from sentry_sdk.consts import OP
1414

1515

16-
class SentryClientInterceptor:
16+
class ClientInterceptor:
1717
@staticmethod
1818
def _update_client_call_details_metadata_from_hub(
1919
client_call_details: ClientCallDetails, hub: Hub
@@ -35,7 +35,7 @@ def _update_client_call_details_metadata_from_hub(
3535
return client_call_details
3636

3737

38-
class SentryUnaryUnaryClientInterceptor(SentryClientInterceptor, UnaryUnaryClientInterceptor): # type: ignore
38+
class SentryUnaryUnaryClientInterceptor(ClientInterceptor, UnaryUnaryClientInterceptor): # type: ignore
3939
async def intercept_unary_unary(
4040
self,
4141
continuation: Callable[[ClientCallDetails, Message], UnaryUnaryCall],
@@ -63,7 +63,7 @@ async def intercept_unary_unary(
6363

6464

6565
class SentryUnaryStreamClientInterceptor(
66-
SentryClientInterceptor, UnaryStreamClientInterceptor # type: ignore
66+
ClientInterceptor, UnaryStreamClientInterceptor # type: ignore
6767
):
6868
async def intercept_unary_stream(
6969
self,

0 commit comments

Comments
 (0)