We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d830b commit e681bdbCopy full SHA for e681bdb
sentry_sdk/utils.py
@@ -25,9 +25,10 @@
25
BaseExceptionGroup = None # type: ignore
26
27
import sentry_sdk
28
+import sentry_sdk.consts as consts
29
from sentry_sdk._compat import PY37
30
from sentry_sdk._types import TYPE_CHECKING
-from sentry_sdk.consts import DEFAULT_MAX_VALUE_LENGTH, EndpointType
31
+from sentry_sdk.consts import DEFAULT_MAX_VALUE_LENGTH
32
33
if TYPE_CHECKING:
34
from types import FrameType, TracebackType
@@ -306,7 +307,7 @@ def __init__(
306
307
self.client = client
308
309
def get_api_url(
- self, type=EndpointType.ENVELOPE # type: EndpointType
310
+ self, type=consts.EndpointType.ENVELOPE # type: consts.EndpointType
311
):
312
# type: (...) -> str
313
"""Returns the API url for storing events."""
0 commit comments