From d53ed57b8fa877e1bcfb49102cd93f03e8966200 Mon Sep 17 00:00:00 2001 From: Alexandra Borovova Date: Tue, 4 Apr 2023 10:23:50 +0200 Subject: [PATCH] Use `typing.Set` instead `set` type --- tools/webdriver/webdriver/bidi/modules/input.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/webdriver/webdriver/bidi/modules/input.py b/tools/webdriver/webdriver/bidi/modules/input.py index 5e7c796adba21c..d2ee17e36e2499 100644 --- a/tools/webdriver/webdriver/bidi/modules/input.py +++ b/tools/webdriver/webdriver/bidi/modules/input.py @@ -7,6 +7,7 @@ MutableMapping, Optional, Sequence, + Set, Type, TypeVar, Union) @@ -304,7 +305,7 @@ def scroll(self, class Actions: def __init__(self) -> None: self.input_sources: List[InputSource] = [] - self.seen_names: MutableMapping[str, set[str]] = defaultdict(set) + self.seen_names: MutableMapping[str, Set[str]] = defaultdict(Set) def _add_source(self, cls: Type[InputSourceType],