Skip to content

Commit

Permalink
Typing
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverkinch committed Mar 6, 2024
1 parent 64816d0 commit 53b6bce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doms_databasen/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import time
from pathlib import Path

from omegaconf import DictConfig
from selenium import webdriver
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.chrome.options import Options
Expand Down Expand Up @@ -48,7 +49,7 @@ class Scraper:
Chrome webdriver
"""

def __init__(self, config) -> None:
def __init__(self, config: DictConfig) -> None:
"""Initializes the Scraper."""
self.config = config
self.test_dir = Path(self.config.scrape.paths.test_dir)
Expand Down

0 comments on commit 53b6bce

Please sign in to comment.