Skip to content

Commit fedb6a3

Browse files
feat: Support array types for logs and metrics attributes
1 parent 121c9d2 commit fedb6a3

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

sentry_sdk/_types.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,7 @@ class SDKInfo(TypedDict):
217217
Hint = Dict[str, Any]
218218

219219
AttributeValue = (
220-
str | bool | float | int
221-
# TODO: relay support coming soon for
222-
# | list[str] | list[bool] | list[float] | list[int]
220+
str | bool | float | int | list[str] | list[bool] | list[float] | list[int]
223221
)
224222
Attributes = dict[str, AttributeValue]
225223

@@ -232,11 +230,10 @@ class SDKInfo(TypedDict):
232230
"boolean",
233231
"double",
234232
"integer",
235-
# TODO: relay support coming soon for:
236-
# "string[]",
237-
# "boolean[]",
238-
# "double[]",
239-
# "integer[]",
233+
"string[]",
234+
"boolean[]",
235+
"double[]",
236+
"integer[]",
240237
],
241238
"value": AttributeValue,
242239
},

0 commit comments

Comments
 (0)