Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
phacops committed Jan 3, 2025
1 parent ff05437 commit 4b21250
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion snuba/web/rpc/v1/endpoint_get_traces.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@
AttributeKey.Type.TYPE_STRING,
),
}
_TYPES_TO_CLICKHOUSE: dict[AttributeKey.Type.ValueType, tuple[str, Callable]] = {
_TYPES_TO_CLICKHOUSE: dict[
AttributeKey.Type.ValueType,
tuple[str, Callable[[Any], AttributeValue]],
] = {
AttributeKey.Type.TYPE_STRING: (
"String",
lambda x: AttributeValue(val_str=str(x)),
Expand Down

0 comments on commit 4b21250

Please sign in to comment.