File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
appium/webdriver/extensions Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414from typing import Any , Dict , Union
1515
16- try :
17- from typing import Self
18- except (ImportError , AttributeError ):
19- from typing_extensions import Self
20-
2116from selenium .common .exceptions import InvalidArgumentException , UnknownMethodException
17+ from typing_extensions import Self
2218
2319from appium .protocols .webdriver .can_execute_commands import CanExecuteCommands
2420from appium .protocols .webdriver .can_execute_scripts import CanExecuteScripts
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- from typing import Optional , Self
15+ from typing import Optional
1616
1717from selenium .common .exceptions import UnknownMethodException
18+ from typing_extensions import Self
1819
1920from appium .protocols .webdriver .can_execute_commands import CanExecuteCommands
2021from appium .protocols .webdriver .can_execute_scripts import CanExecuteScripts
You can’t perform that action at this time.
0 commit comments