Skip to content

Commit 3885e9b

Browse files
committed
fiox
1 parent 2bcd641 commit 3885e9b

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

sentry_sdk/_types.py

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,22 @@ def substituted_because_contains_sensitive_data(cls):
129129
# "critical" is an alias of "fatal" recognized by Relay
130130
LogLevelStr = Literal["fatal", "critical", "error", "warning", "info", "debug"]
131131

132+
EventDataCategory = Literal[
133+
"default",
134+
"error",
135+
"crash",
136+
"transaction",
137+
"security",
138+
"attachment",
139+
"session",
140+
"internal",
141+
"profile",
142+
"profile_chunk",
143+
"monitor",
144+
"span",
145+
"log",
146+
]
147+
132148
DurationUnit = Literal[
133149
"nanosecond",
134150
"microsecond",
@@ -249,21 +265,6 @@ class SDKInfo(TypedDict):
249265
# https://github.com/python/mypy/issues/5710
250266
NotImplementedType = Any
251267

252-
EventDataCategory = Literal[
253-
"default",
254-
"error",
255-
"crash",
256-
"transaction",
257-
"security",
258-
"attachment",
259-
"session",
260-
"internal",
261-
"profile",
262-
"profile_chunk",
263-
"monitor",
264-
"span",
265-
"log",
266-
]
267268
SessionStatus = Literal["ok", "exited", "crashed", "abnormal"]
268269

269270
ContinuousProfilerMode = Literal["thread", "gevent", "unknown"]

0 commit comments

Comments
 (0)