pymammotion 0.5.33__py3-none-any.whl → 0.5.34__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/http/http.py CHANGED
@@ -13,12 +13,12 @@ from pymammotion.http.model.rtk import RTK
13
13
 
14
14
 
15
15
  class MammotionHTTP:
16
- def __init__(self) -> None:
16
+ def __init__(self, account: str | None = None, password: str | None = None) -> None:
17
17
  self.expires_in = 0
18
18
  self.code = 0
19
19
  self.msg = None
20
- self.account = None
21
- self._password = None
20
+ self.account = account
21
+ self._password = password
22
22
  self.response: Response | None = None
23
23
  self.login_info: LoginResponseData | None = None
24
24
  self._headers = {"User-Agent": "okhttp/4.9.3", "App-Version": "Home Assistant,1.14.2.29"}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pymammotion
3
- Version: 0.5.33
3
+ Version: 0.5.34
4
4
  Summary:
5
5
  License: GPL-3.0
6
6
  Author: Michael Arthur
@@ -53,7 +53,7 @@ pymammotion/event/event.py,sha256=Z8WYxv_-5khEqKjL1w4c_Et24G1Kdm8QFuIBylD3h3U,30
53
53
  pymammotion/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  pymammotion/http/_init_.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  pymammotion/http/encryption.py,sha256=lzXu3WwBdQlzjXxWnlJuRgkCrKdPbxx5drhMitVKIEk,8287
56
- pymammotion/http/http.py,sha256=vhk2oMZETsIYMaweL5mpRQQwxbssHmRZ-Bx0197yA-M,14649
56
+ pymammotion/http/http.py,sha256=SK0Sb4L6Kti6d_cFd4l9Qr_TgCR4MjHBuBCNZlPdur8,14713
57
57
  pymammotion/http/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
58
  pymammotion/http/model/camera_stream.py,sha256=ilxQNny_w9Frwt-m8kbHinvyjDv4Bx8C2swfZ2lTEDE,600
59
59
  pymammotion/http/model/http.py,sha256=VDBmi9nyY5Y2ns_HYvKIyzbkKRxhZ5elpq0lWXWzbGw,4123
@@ -130,7 +130,7 @@ pymammotion/utility/movement.py,sha256=N75oAoAgFydqoaOedYIxGUHmuTCtPzAOtb-d_29tp
130
130
  pymammotion/utility/mur_mur_hash.py,sha256=xEfOZVbqRawJj66eLgtnZ85OauDR47oIPr29OHelzPI,4468
131
131
  pymammotion/utility/periodic.py,sha256=MbeSb9cfhxzYmdT_RiE0dZe3H9IfbQW_zSqhmSX2RUc,3321
132
132
  pymammotion/utility/rocker_util.py,sha256=6tX7sS87qoQC_tsxbx3NLL-HgS08wtzXiZkhDiz7uo0,7179
133
- pymammotion-0.5.33.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
134
- pymammotion-0.5.33.dist-info/METADATA,sha256=AzduzVw-y6wPLTZUgSFtdIm3cckQeCuGVX45i7eM2-U,3912
135
- pymammotion-0.5.33.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
136
- pymammotion-0.5.33.dist-info/RECORD,,
133
+ pymammotion-0.5.34.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
134
+ pymammotion-0.5.34.dist-info/METADATA,sha256=ZJCvduFIOT-gyzA0aj5iSjOoSvlCbnzwO261FtyFZOg,3912
135
+ pymammotion-0.5.34.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
136
+ pymammotion-0.5.34.dist-info/RECORD,,