From 53b6bce516096451d995431c00db7815f8e68e23 Mon Sep 17 00:00:00 2001 From: Oliver Kinch Date: Wed, 6 Mar 2024 12:31:07 +0100 Subject: [PATCH] Typing --- src/doms_databasen/scraper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/doms_databasen/scraper.py b/src/doms_databasen/scraper.py index 87dd8ce7..9e36f308 100644 --- a/src/doms_databasen/scraper.py +++ b/src/doms_databasen/scraper.py @@ -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 @@ -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)