Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions debug_toolbar/panels/pydantic.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import inspect
import statistics
import typing as t
from collections import OrderedDict
from time import perf_counter

from fastapi import Request, Response
Expand All @@ -27,7 +26,7 @@ def __init__(self, *args: t.Any, **kwargs: t.Any) -> None:
super().__init__(*args, **kwargs)
self._validation_time: float = 0
self._parent_ids: t.Dict[t.Any, str] = {}
self._validations: t.Dict[str, t.Any] = OrderedDict()
self._validations: t.Dict[str, t.Any] = {}

@property
def nav_subtitle(self) -> str:
Expand Down
2 changes: 1 addition & 1 deletion debug_toolbar/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(
call_next = panel.process_request

self.process_request = call_next
self._panels = OrderedDict()
self._panels = {}

while panels:
panel = panels.pop()
Expand Down