From fedb6a380212837602d233b988d4686301929429 Mon Sep 17 00:00:00 2001 From: Alexander Alderman Webb Date: Wed, 14 Jan 2026 16:37:43 +0100 Subject: [PATCH] feat: Support array types for logs and metrics attributes --- sentry_sdk/_types.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/sentry_sdk/_types.py b/sentry_sdk/_types.py index a39e27d884..20f8d5e618 100644 --- a/sentry_sdk/_types.py +++ b/sentry_sdk/_types.py @@ -217,9 +217,7 @@ class SDKInfo(TypedDict): Hint = Dict[str, Any] AttributeValue = ( - str | bool | float | int - # TODO: relay support coming soon for - # | list[str] | list[bool] | list[float] | list[int] + str | bool | float | int | list[str] | list[bool] | list[float] | list[int] ) Attributes = dict[str, AttributeValue] @@ -232,11 +230,10 @@ class SDKInfo(TypedDict): "boolean", "double", "integer", - # TODO: relay support coming soon for: - # "string[]", - # "boolean[]", - # "double[]", - # "integer[]", + "string[]", + "boolean[]", + "double[]", + "integer[]", ], "value": AttributeValue, },