From fcb83491a87c801729fb5d6dc49792227f8fc3ae Mon Sep 17 00:00:00 2001 From: symonk Date: Mon, 3 Oct 2022 17:13:32 +0100 Subject: [PATCH] [py]: Remove invalid argument calls to `_extract_and_check` until removed --- py/selenium/webdriver/chromium/service.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/py/selenium/webdriver/chromium/service.py b/py/selenium/webdriver/chromium/service.py index 9d7af55e6318f..d8bdc2cffc011 100644 --- a/py/selenium/webdriver/chromium/service.py +++ b/py/selenium/webdriver/chromium/service.py @@ -14,7 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. - +import typing from typing import List from selenium.webdriver.common import service @@ -29,10 +29,10 @@ def __init__( self, executable_path: str, port: int = 0, - service_args: List[str] = None, - log_path: str = None, - env: dict = None, - start_error_message: str = None, + service_args: typing.Optional[List[str]] = None, + log_path: typing.Optional[typing.Any[str, int]] = None, + env: typing.Optional[typing.Dict[typing.Any, typing.Any]] = None, + start_error_message: str = "", ): """ Creates a new instance of the Service