Skip to content

Commit a59ddb4

Browse files
authored
[py] Use native dict for type annotation (#16157)
1 parent ef0f66c commit a59ddb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/selenium/webdriver/common/bidi/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
from typing import Dict, Optional
18+
from typing import Optional
1919

2020
from selenium.webdriver.common.bidi.common import command_builder
2121

@@ -77,7 +77,7 @@ def __init__(
7777
self.file = file
7878
self.prompt = prompt
7979

80-
def to_dict(self) -> Dict[str, str]:
80+
def to_dict(self) -> dict[str, str]:
8181
"""Convert the UserPromptHandler to a dictionary for BiDi protocol.
8282
8383
Returns:

0 commit comments

Comments
 (0)