style(Fetchers): Setting correct type hint for wait_selector_state argument

This commit is contained in:
Karim shoair
2024-12-19 13:22:12 +02:00
parent 94745b1555
commit 5be8c2a95e
4 changed files with 14 additions and 11 deletions
+2
View File
@@ -5,6 +5,8 @@ Type definitions for type checking purposes.
from typing import (TYPE_CHECKING, Any, Callable, Dict, Generator, Iterable,
List, Literal, Optional, Pattern, Tuple, Type, Union)
SelectorWaitStates = Literal["attached", "detached", "hidden", "visible"]
try:
from typing import Protocol
except ImportError: