MCPcopy Index your code
hub / github.com/appium/python-client / _add_commands

Method _add_commands

appium/webdriver/extensions/device_time.py:65–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 return self.mark_extension_absence(ext_name).execute(Command.GET_DEVICE_TIME_POST, {'format': format})['value']
64
65 def _add_commands(self) -> None:
66 self.command_executor.add_command(
67 Command.GET_DEVICE_TIME_GET,
68 'GET',
69 '/session/$sessionId/appium/device/system_time',
70 )
71 self.command_executor.add_command(
72 Command.GET_DEVICE_TIME_POST,
73 'POST',
74 '/session/$sessionId/appium/device/system_time',
75 )

Callers

nothing calls this directly

Calls 1

add_commandMethod · 0.45

Tested by

no test coverage detected