Skip to content

Commit

Permalink
Use build-in 'dict' type hint instead of 'from typing import Dict''
Browse files Browse the repository at this point in the history
  • Loading branch information
Crinibus committed Nov 9, 2023
1 parent f5ce7c7 commit f0ff51c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scraper/domains.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from typing import Dict
import requests
import urllib.parse
from bs4 import BeautifulSoup
Expand Down Expand Up @@ -511,7 +510,7 @@ def get_website_handler(url: str) -> BaseWebsiteHandler:
return website_handler(url)


SUPPORTED_DOMAINS: Dict[str, BaseWebsiteHandler] = {
SUPPORTED_DOMAINS: dict[str, BaseWebsiteHandler] = {
"komplett": KomplettHandler,
"proshop": ProshopHandler,
"computersalg": ComputerSalgHandler,
Expand Down

0 comments on commit f0ff51c

Please sign in to comment.