python-terminusgps 1.13.0__py3-none-any.whl → 1.13.2__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.
- {python_terminusgps-1.13.0.dist-info → python_terminusgps-1.13.2.dist-info}/METADATA +1 -1
- {python_terminusgps-1.13.0.dist-info → python_terminusgps-1.13.2.dist-info}/RECORD +6 -6
- terminusgps/wialon/items/resource.py +0 -1
- terminusgps/wialon/session.py +4 -2
- {python_terminusgps-1.13.0.dist-info → python_terminusgps-1.13.2.dist-info}/WHEEL +0 -0
- {python_terminusgps-1.13.0.dist-info → python_terminusgps-1.13.2.dist-info}/licenses/COPYING +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 1.13.
|
|
3
|
+
Version: 1.13.2
|
|
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
|
|
@@ -16,18 +16,18 @@ terminusgps/wialon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
|
|
|
16
16
|
terminusgps/wialon/constants.py,sha256=g06sNgWtSvY1pZljbH9KMsArhs8jFZRgJM9GT4Gluf0,3079
|
|
17
17
|
terminusgps/wialon/errors.py,sha256=Fl8A0peF5HpDdR3y0r3g86-iQ4kQgye3FYQZKGe3T7Y,984
|
|
18
18
|
terminusgps/wialon/flags.py,sha256=-OoH-eZM54yjRqxsAXL8VImdQu_7C0OAxCrFqaCEuko,13510
|
|
19
|
-
terminusgps/wialon/session.py,sha256=
|
|
19
|
+
terminusgps/wialon/session.py,sha256=TFkpVZMXj11qG_RdjG7kXh0SghhWa3htinRTtq14XIw,9703
|
|
20
20
|
terminusgps/wialon/utils.py,sha256=9xJq5eAWm-vu0nJVJ7eUcwhJhMCrGjS1p__4CIBXYm4,3407
|
|
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=
|
|
24
|
+
terminusgps/wialon/items/resource.py,sha256=7quzb_xvjyEZDTtLMweYOf37NsT9klYcCj4e6apGa5Q,8282
|
|
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.
|
|
31
|
-
python_terminusgps-1.13.
|
|
32
|
-
python_terminusgps-1.13.
|
|
33
|
-
python_terminusgps-1.13.
|
|
30
|
+
python_terminusgps-1.13.2.dist-info/METADATA,sha256=Y04mbbOBpDx9ixa8UxwM069LY1nCUEPkdEa_acZa6Gk,912
|
|
31
|
+
python_terminusgps-1.13.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
32
|
+
python_terminusgps-1.13.2.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
33
|
+
python_terminusgps-1.13.2.dist-info/RECORD,,
|
terminusgps/wialon/session.py
CHANGED
|
@@ -317,10 +317,12 @@ class WialonSessionManager:
|
|
|
317
317
|
cls._instance = super().__new__(cls)
|
|
318
318
|
return cls._instance
|
|
319
319
|
|
|
320
|
-
def get_session(
|
|
320
|
+
def get_session(
|
|
321
|
+
self, sid: str | None = None, log_level: int = logging.INFO
|
|
322
|
+
) -> WialonSession:
|
|
321
323
|
with self._lock:
|
|
322
324
|
if not self._session:
|
|
323
|
-
self._session = WialonSession(sid=sid)
|
|
325
|
+
self._session = WialonSession(sid=sid, log_level=log_level)
|
|
324
326
|
return self._session
|
|
325
327
|
|
|
326
328
|
|
|
File without changes
|
{python_terminusgps-1.13.0.dist-info → python_terminusgps-1.13.2.dist-info}/licenses/COPYING
RENAMED
|
File without changes
|