python-terminusgps 1.13.1__py3-none-any.whl → 1.13.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 1.13.1
3
+ Version: 1.13.3
4
4
  Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
5
5
  Project-URL: Documentation, https://app.terminusgps.com/docs/apps/python-terminusgps/index.html
6
6
  Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
@@ -21,13 +21,13 @@ terminusgps/wialon/utils.py,sha256=9xJq5eAWm-vu0nJVJ7eUcwhJhMCrGjS1p__4CIBXYm4,3
21
21
  terminusgps/wialon/items/__init__.py,sha256=3BVthghekMvhMQSzQgBMlD_phxmKSmp3Zvmo-z0O8Bs,211
22
22
  terminusgps/wialon/items/base.py,sha256=sWM8Kg3eJ008M51q42OREHmeifOrFbV1JS9ELqE7coA,6878
23
23
  terminusgps/wialon/items/notification.py,sha256=wC-KXxW4LhjSLJVzBGPfu5hz1vcIGKnYFMxQQ1JzX0g,1058
24
- terminusgps/wialon/items/resource.py,sha256=eyN0CP2GNA8LyZplppxFohXhAE-pNb4TjKR3cIEXezQ,8335
24
+ terminusgps/wialon/items/resource.py,sha256=oSK8HRIeqW5Zap1TbI2wenOt-SlRfcUsASoorL0qvZk,8400
25
25
  terminusgps/wialon/items/retranslator.py,sha256=zsQXqOhH1zFe5_e8DROPu60z3v6xPWOEPyMCi2IqJAo,3861
26
26
  terminusgps/wialon/items/route.py,sha256=qOHPN_rejwiGqvwWzlwmUIAIyc3lKavCalf8ki66rx0,760
27
27
  terminusgps/wialon/items/unit.py,sha256=3fp9HXxW8e7PvMXwRBurNUrDstEmGyLBVRu3Q9kNcAM,7275
28
28
  terminusgps/wialon/items/unit_group.py,sha256=1yc7ldPIgGbtiTj0djRDWmt6Q9K_VT9sxOaioasbbLY,5212
29
29
  terminusgps/wialon/items/user.py,sha256=p_NA4iXLappr44RKwt9EHv_v0jc1XOQU_mJWe61s_qI,6077
30
- python_terminusgps-1.13.1.dist-info/METADATA,sha256=umYiiP05DRQoGK6IQdRinBo21kg0bMiBPDrQDAcw6GM,912
31
- python_terminusgps-1.13.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
32
- python_terminusgps-1.13.1.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
33
- python_terminusgps-1.13.1.dist-info/RECORD,,
30
+ python_terminusgps-1.13.3.dist-info/METADATA,sha256=oiqS6dtn-H-5ZgQvSwWjSSfvP8W4DOpfsFQNP9d0rdQ,912
31
+ python_terminusgps-1.13.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
32
+ python_terminusgps-1.13.3.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
33
+ python_terminusgps-1.13.3.dist-info/RECORD,,
@@ -1,6 +1,5 @@
1
1
  from terminusgps.wialon import flags
2
2
  from terminusgps.wialon.items.base import WialonBase
3
- from terminusgps.wialon.session import WialonSession
4
3
 
5
4
 
6
5
  class WialonResource(WialonBase):
@@ -21,6 +20,11 @@ class WialonResource(WialonBase):
21
20
  )
22
21
  return response.get("item", {}).get("id")
23
22
 
23
+ def delete(self) -> None:
24
+ if self.is_account:
25
+ self.delete_account()
26
+ super().delete()
27
+
24
28
  @property
25
29
  def is_account(self) -> bool:
26
30
  """