File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010from datetime import datetime , timedelta , timezone
1111from collections import defaultdict
1212
13- from sentry_sdk .consts import EndpointType
13+ import sentry_sdk .consts as consts
1414from sentry_sdk .utils import Dsn , logger , capture_internal_exceptions
1515from sentry_sdk .worker import BackgroundWorker
1616from sentry_sdk .envelope import Envelope , Item , PayloadRef
@@ -248,7 +248,7 @@ def _send_request(
248248 self ,
249249 body , # type: bytes
250250 headers , # type: Dict[str, str]
251- endpoint_type = EndpointType .ENVELOPE , # type: EndpointType
251+ endpoint_type = consts . EndpointType .ENVELOPE , # type: consts. EndpointType
252252 envelope = None , # type: Optional[Envelope]
253253 ):
254254 # type: (...) -> None
@@ -422,7 +422,7 @@ def _send_envelope(
422422 self ._send_request (
423423 body .getvalue (),
424424 headers = headers ,
425- endpoint_type = EndpointType .ENVELOPE ,
425+ endpoint_type = consts . EndpointType .ENVELOPE ,
426426 envelope = envelope ,
427427 )
428428 return None
You can’t perform that action at this time.
0 commit comments