Skip to content

Commit eb94ab1

Browse files
🏷️ Fix typing error
1 parent 3f96489 commit eb94ab1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openforms/typing.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import datetime
44
import decimal
55
import uuid
6-
from typing import TYPE_CHECKING, Any, NewType, Protocol
6+
from typing import TYPE_CHECKING, Any, NewType, Protocol, Sequence
77

88
from django.http import HttpRequest
99
from django.http.response import HttpResponseBase
@@ -18,7 +18,7 @@
1818

1919
type JSONPrimitive = str | int | float | bool | None
2020

21-
type JSONValue = JSONPrimitive | JSONObject | list[JSONValue]
21+
type JSONValue = JSONPrimitive | JSONObject | Sequence[JSONValue]
2222

2323
type JSONObject = dict[str, JSONValue]
2424

0 commit comments

Comments
 (0)