We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba4ae50 commit 0a9f0abCopy full SHA for 0a9f0ab
debug_toolbar/toolbar.py
@@ -4,7 +4,8 @@
4
5
import re
6
import uuid
7
-from collections import OrderedDict
+from typing import OrderedDict
8
+# from collections import OrderedDict
9
from functools import lru_cache
10
11
from django.apps import apps
tests/test_csp_rendering.py
@@ -10,7 +10,7 @@
from .base import BaseTestCase
12
13
-def _get_ns(element: Element) -> dict[str, str]:
+def _get_ns(element: Element) -> Dict[str, str]:
14
"""
15
Return the default `xmlns`. See
16
https://docs.python.org/3/library/xml.etree.elementtree.html#parsing-xml-with-namespaces
0 commit comments