Skip to content

Commit 2a41080

Browse files
committed
modify signature
1 parent 2d80935 commit 2a41080

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

appium/webdriver/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ def switch_to(self) -> MobileSwitchTo:
401401

402402
# MJSONWP for Selenium v4
403403
@property
404-
def orientation(self) -> str:
404+
def orientation(self) -> Any:
405405
"""
406406
Gets the current orientation of the device
407407

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ Repository = "https://github.com/appium/python-client"
3636
Issues = "https://github.com/appium/python-client/issues"
3737
Changelog = "https://github.com/appium/python-client/blob/master/CHANGELOG.md"
3838

39-
[tool.uv]
40-
dev-dependencies = [
39+
[dependency-groups]
40+
dev = [
4141
"httpretty~=1.1",
42-
"mock~=5.2",
4342
"mypy~=1.17",
4443
"pre-commit~=4.2",
4544
"pytest~=8.4",

0 commit comments

Comments
 (0)