MCPcopy
hub / github.com/budtmo/docker-android / create

Method create

cli/src/device/__init__.py:100–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 pass
99
100 def create(self) -> None:
101 if self.user_behavior_analytics:
102 self.logger.info("Sending user behavior analytics to improve the tool")
103 try:
104 form_url = f"https://docs.google.com/forms/d/e/{Device.FORM_ID}/formResponse"
105 self._prepare_analytics_payload()
106 requests.post(url=form_url, data=self.form_data)
107 except requests.exceptions.RequestException as rer:
108 self.logger.warning(rer)
109 pass
110 self.set_status(DEVICE.STATUS_CREATING)
111
112 def start(self) -> None:
113 self.set_status(DEVICE.STATUS_STARTING)

Callers 2

start_deviceFunction · 0.45
createMethod · 0.45

Calls 2

set_statusMethod · 0.95

Tested by

no test coverage detected