From 4c6d965e412cee606757ca90a6371ac932d445c2 Mon Sep 17 00:00:00 2001 From: jrycw Date: Tue, 19 Nov 2024 04:56:56 +0800 Subject: [PATCH] Fix the type hint for `debug_port` in `_BaseWebDriver` --- great_tables/_utils_selenium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/great_tables/_utils_selenium.py b/great_tables/_utils_selenium.py index 4c271fb27..6e39d1a06 100644 --- a/great_tables/_utils_selenium.py +++ b/great_tables/_utils_selenium.py @@ -16,7 +16,7 @@ class _BaseWebDriver: - def __init__(self, debug_port: bool): + def __init__(self, debug_port: int | None = None): self.debug_port = debug_port self.wd_options = self.cls_wd_options() self.add_arguments()