Skip to content

Commit

Permalink
Update versions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Jul 31, 2024
1 parent 0192da1 commit 01b3844
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aiohttp_debugtoolbar/panels/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class _Package(TypedDict):
version: str
lowername: str
name: str
dependencies: list[str]
url: str
dependencies: List[str]
url: Optional[str]


class VersionDebugPanel(DebugPanel):
Expand Down Expand Up @@ -45,7 +45,7 @@ def get_packages(cls) -> List[Dict[str, str]]:
if VersionDebugPanel.packages:
return VersionDebugPanel.packages

packages: list[_Package] = []
packages: List[_Package] = []
for distribution in Distribution.discover():
name = distribution.metadata["Name"]
dependencies = [d for d in distribution.requires or ()]
Expand Down

0 comments on commit 01b3844

Please sign in to comment.