From 6221ca2b7513e9ada72bf2796e3d4aa91e1f41c1 Mon Sep 17 00:00:00 2001 From: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com> Date: Thu, 29 May 2025 08:59:25 -0400 Subject: [PATCH] [py] Fix import for type hint --- py/selenium/webdriver/common/bidi/common.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/py/selenium/webdriver/common/bidi/common.py b/py/selenium/webdriver/common/bidi/common.py index 4cfe7f8fbc16e..0aa87228e6ad3 100644 --- a/py/selenium/webdriver/common/bidi/common.py +++ b/py/selenium/webdriver/common/bidi/common.py @@ -14,7 +14,9 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -from typing import Generator, Optional + +from collections.abc import Generator +from typing import Optional def command_builder(method: str, params: Optional[dict] = None) -> Generator[dict, dict, dict]: