Skip to content

Commit 2b9523c

Browse files
committed
chore: merge 'typing py' with 'trunk'
1 parent 7959e05 commit 2b9523c

File tree

3 files changed

+330
-212
lines changed

3 files changed

+330
-212
lines changed

py/selenium/webdriver/remote/script_key.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919

2020

2121
class ScriptKey:
22-
def __init__(self, id=None):
22+
def __init__(self, id: uuid.UUID | str | None = None):
2323
self._id = id or uuid.uuid4()
2424

2525
@property
2626
def id(self):
2727
return self._id
2828

29-
def __eq__(self, other):
29+
def __eq__(self, other: object):
3030
return self._id == other
3131

3232
def __repr__(self) -> str:

0 commit comments

Comments
 (0)