pymammotion 0.2.10__py3-none-any.whl → 0.2.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pymammotion might be problematic. Click here for more details.
- pymammotion/aliyun/dataclass/dev_by_account_response.py +3 -1
- pymammotion/mammotion/devices/mammotion.py +3 -2
- {pymammotion-0.2.10.dist-info → pymammotion-0.2.12.dist-info}/METADATA +1 -1
- {pymammotion-0.2.10.dist-info → pymammotion-0.2.12.dist-info}/RECORD +6 -6
- {pymammotion-0.2.10.dist-info → pymammotion-0.2.12.dist-info}/LICENSE +0 -0
- {pymammotion-0.2.10.dist-info → pymammotion-0.2.12.dist-info}/WHEEL +0 -0
|
@@ -9,7 +9,6 @@ from mashumaro.mixins.orjson import DataClassORJSONMixin
|
|
|
9
9
|
class Device(DataClassORJSONMixin):
|
|
10
10
|
gmtModified: int
|
|
11
11
|
netType: str
|
|
12
|
-
nickName: str
|
|
13
12
|
categoryKey: str
|
|
14
13
|
productKey: str
|
|
15
14
|
nodeType: str
|
|
@@ -24,10 +23,13 @@ class Device(DataClassORJSONMixin):
|
|
|
24
23
|
identityId: str
|
|
25
24
|
thingType: str
|
|
26
25
|
status: int
|
|
26
|
+
nickName: Optional[str] = None
|
|
27
|
+
description: Optional[str] = None
|
|
27
28
|
productImage: Optional[str] = None
|
|
28
29
|
categoryImage: Optional[str] = None
|
|
29
30
|
productModel: Optional[str] = None
|
|
30
31
|
|
|
32
|
+
|
|
31
33
|
class Config(BaseConfig):
|
|
32
34
|
omit_default = True
|
|
33
35
|
|
|
@@ -1148,9 +1148,10 @@ class MammotionBaseCloudDevice(MammotionBaseDevice):
|
|
|
1148
1148
|
|
|
1149
1149
|
if len(self._waiting_queue) > 0:
|
|
1150
1150
|
fut: MammotionFuture = self._waiting_queue.popleft()
|
|
1151
|
-
while fut.fut.cancelled():
|
|
1151
|
+
while fut.fut.cancelled() and len(self._waiting_queue) > 0:
|
|
1152
1152
|
fut: MammotionFuture = self._waiting_queue.popleft()
|
|
1153
|
-
fut.
|
|
1153
|
+
if not fut.fut.cancelled():
|
|
1154
|
+
fut.resolve(cast(bytes, binary_data))
|
|
1154
1155
|
await self._state_manager.notification(new_msg)
|
|
1155
1156
|
|
|
1156
1157
|
async def _handle_mqtt_message(self, topic: str, payload: dict) -> None:
|
|
@@ -4,7 +4,7 @@ pymammotion/aliyun/cloud_gateway.py,sha256=IqmxgjDIgRoZvJvQnwYGOSl4XaCV4MoMKTlfh
|
|
|
4
4
|
pymammotion/aliyun/cloud_service.py,sha256=YWcKuKK6iRWy5mTnBYgHxcCusiRGGzQt3spSf7dGDss,2183
|
|
5
5
|
pymammotion/aliyun/dataclass/aep_response.py,sha256=8f6GIP58ve8gd6AL3HBoXxsy0n2q4ygWvjELGnoOnVc,452
|
|
6
6
|
pymammotion/aliyun/dataclass/connect_response.py,sha256=Yz-fEbDzgGPTo5Of2oAjmFkSv08T7ze80pQU4k-gKIU,824
|
|
7
|
-
pymammotion/aliyun/dataclass/dev_by_account_response.py,sha256=
|
|
7
|
+
pymammotion/aliyun/dataclass/dev_by_account_response.py,sha256=YV7I1Gd3RyHXi369AzEKa604VOV5bmtjD1mVElg9wOw,1033
|
|
8
8
|
pymammotion/aliyun/dataclass/login_by_oauth_response.py,sha256=6TQYAMyQ1jf_trsnTST007qlNXve3BqsvpV0Dwp7CFA,1245
|
|
9
9
|
pymammotion/aliyun/dataclass/regions_response.py,sha256=CVPpdFhDD6_emWHyLRzOdp2j3HLPtP8tlNyzGnr8AcI,690
|
|
10
10
|
pymammotion/aliyun/dataclass/session_by_authcode_response.py,sha256=_5vsyIxocoecEqygPTmhOQnzjwaK845ssIqbTeaLcmk,406
|
|
@@ -58,7 +58,7 @@ pymammotion/mammotion/commands/messages/video.py,sha256=_8lJsU4sLm2CGnc7RDkueA0A
|
|
|
58
58
|
pymammotion/mammotion/control/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
59
59
|
pymammotion/mammotion/control/joystick.py,sha256=EWV20MMzQuhbLlNlXbsyZKSEpeM7x1CQL7saU4Pn0-g,6165
|
|
60
60
|
pymammotion/mammotion/devices/__init__.py,sha256=T72jt0ejtMjo1rPmn_FeMF3pmp0LLeRRpc9WcDKEYYY,126
|
|
61
|
-
pymammotion/mammotion/devices/mammotion.py,sha256=
|
|
61
|
+
pymammotion/mammotion/devices/mammotion.py,sha256=oYInls6l_DjGU0VwXersSpqJtXDrH6yObcQb3V_f8oc,47043
|
|
62
62
|
pymammotion/mqtt/__init__.py,sha256=Ocs5e-HLJvTuDpVXyECEsWIvwsUaxzj7lZ9mSYutNDY,105
|
|
63
63
|
pymammotion/mqtt/mammotion_future.py,sha256=WKnHqeHiS2Ut-SaDBNOxqh1jDLeTiyLTsJ7PNUexrjk,687
|
|
64
64
|
pymammotion/mqtt/mammotion_mqtt.py,sha256=K9TokiQWYJloWu5Hom00g7cfGhWHDSWqbcU9AqW4C9Q,8071
|
|
@@ -111,7 +111,7 @@ pymammotion/utility/device_type.py,sha256=KYawu2glZMVlPmxRbA4kVFujXz3miHp3rJiOWR
|
|
|
111
111
|
pymammotion/utility/map.py,sha256=aoi-Luzuph02hKynTofMoq3mnPstanx75MDAVv49CuY,2211
|
|
112
112
|
pymammotion/utility/periodic.py,sha256=9wJMfwXPlx6Mbp3Fws7LLTI34ZDKphH1bva_Ggyk32g,3281
|
|
113
113
|
pymammotion/utility/rocker_util.py,sha256=syPL0QN4zMzHiTIkUKS7RXBBptjdbkfNlPddwUD5V3A,7171
|
|
114
|
-
pymammotion-0.2.
|
|
115
|
-
pymammotion-0.2.
|
|
116
|
-
pymammotion-0.2.
|
|
117
|
-
pymammotion-0.2.
|
|
114
|
+
pymammotion-0.2.12.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
115
|
+
pymammotion-0.2.12.dist-info/METADATA,sha256=1Mvxd071W8iz9hB4GG7VodeeUqHFslb-0p4l7dL4-IA,3969
|
|
116
|
+
pymammotion-0.2.12.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
117
|
+
pymammotion-0.2.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|