python-terminusgps 36.0.0__py3-none-any.whl → 36.1.1__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 python-terminusgps might be problematic. Click here for more details.
- {python_terminusgps-36.0.0.dist-info → python_terminusgps-36.1.1.dist-info}/METADATA +1 -1
- {python_terminusgps-36.0.0.dist-info → python_terminusgps-36.1.1.dist-info}/RECORD +6 -6
- terminusgps/twilio/caller.py +2 -1
- terminusgps/wialon/session.py +6 -1
- {python_terminusgps-36.0.0.dist-info → python_terminusgps-36.1.1.dist-info}/WHEEL +0 -0
- {python_terminusgps-36.0.0.dist-info → python_terminusgps-36.1.1.dist-info}/licenses/COPYING +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 36.
|
|
3
|
+
Version: 36.1.1
|
|
4
4
|
Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
|
|
5
5
|
Project-URL: Documentation, https://docs.terminusgps.com
|
|
6
6
|
Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
|
|
@@ -33,11 +33,11 @@ terminusgps/django/tests/test_forms.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74
|
|
|
33
33
|
terminusgps/django/tests/test_mixins.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
34
|
terminusgps/django/tests/test_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
terminusgps/twilio/__init__.py,sha256=dYo41F2jft_eHDWSUtSpKGSRG1bewq_qClqilUJZkYM,33
|
|
36
|
-
terminusgps/twilio/caller.py,sha256=
|
|
36
|
+
terminusgps/twilio/caller.py,sha256=d5qJJWnFP-Vp6aj_pYEiEd2DJVnaP9esFZoJGJWlXek,5098
|
|
37
37
|
terminusgps/wialon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
terminusgps/wialon/constants.py,sha256=Ju2XL2A4DPFD-w8NjYqEfnnqregl1luPT0XGhGSUnO8,6316
|
|
39
39
|
terminusgps/wialon/flags.py,sha256=M50EdhxQ8IMnJnU0mrHK7-h8Asc6tvNiTOOfd1dBW6A,12815
|
|
40
|
-
terminusgps/wialon/session.py,sha256=
|
|
40
|
+
terminusgps/wialon/session.py,sha256=jHMr3fQ5tuB3pic73sCZvAsitW3Hcoqzu4X3UblPzvw,10670
|
|
41
41
|
terminusgps/wialon/utils.py,sha256=SwpcxLPBLy0u3AT84G-Co4wxmhRrPFyW3jo_9O6ICvk,11008
|
|
42
42
|
terminusgps/wialon/validators.py,sha256=j5vrtcfClAzRdRkWTvRRAmrne1t0R6cKkmYdE7fAkSs,4247
|
|
43
43
|
terminusgps/wialon/items/__init__.py,sha256=3BVthghekMvhMQSzQgBMlD_phxmKSmp3Zvmo-z0O8Bs,211
|
|
@@ -52,7 +52,7 @@ terminusgps/wialon/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
52
52
|
terminusgps/wialon/tests/test_items.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
53
|
terminusgps/wialon/tests/test_session.py,sha256=9mBlYchMo9NeqRIZsmxYzrM1zBHorqu4ooxqSNppLpI,1336
|
|
54
54
|
terminusgps/wialon/tests/test_utils.py,sha256=SK4PxJQGECFnzx_EQeRAQfsQ5_3FLaVcis2W9u_ibuI,1730
|
|
55
|
-
python_terminusgps-36.
|
|
56
|
-
python_terminusgps-36.
|
|
57
|
-
python_terminusgps-36.
|
|
58
|
-
python_terminusgps-36.
|
|
55
|
+
python_terminusgps-36.1.1.dist-info/METADATA,sha256=PPq5zpzXhNMI__HbOY5mJBITv05Zmr-05BkLPXNOVro,1616
|
|
56
|
+
python_terminusgps-36.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
57
|
+
python_terminusgps-36.1.1.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
58
|
+
python_terminusgps-36.1.1.dist-info/RECORD,,
|
terminusgps/twilio/caller.py
CHANGED
|
@@ -16,6 +16,7 @@ class TwilioCaller:
|
|
|
16
16
|
messaging_sid: str | None = None,
|
|
17
17
|
log_level: int = 10,
|
|
18
18
|
log_days: int = 10,
|
|
19
|
+
debug: bool = False,
|
|
19
20
|
) -> None:
|
|
20
21
|
"""
|
|
21
22
|
Sets Twilio client session variables.
|
|
@@ -38,7 +39,7 @@ class TwilioCaller:
|
|
|
38
39
|
f"logs/{self.__class__.__name__}.log",
|
|
39
40
|
level=log_level,
|
|
40
41
|
retention=f"{log_days} days",
|
|
41
|
-
diagnose=settings.DEBUG,
|
|
42
|
+
diagnose=debug or settings.DEBUG,
|
|
42
43
|
)
|
|
43
44
|
self._client_sid = client_sid or settings.TWILIO_SID
|
|
44
45
|
self._client_token = client_token or settings.TWILIO_TOKEN
|
terminusgps/wialon/session.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import dataclasses
|
|
2
2
|
import datetime
|
|
3
|
+
import os
|
|
3
4
|
import typing
|
|
4
5
|
|
|
5
6
|
import wialon.api
|
|
@@ -103,7 +104,11 @@ class WialonSession:
|
|
|
103
104
|
retention=f"{log_days} days",
|
|
104
105
|
diagnose=debug or settings.DEBUG if settings.configured else False,
|
|
105
106
|
)
|
|
106
|
-
self._token =
|
|
107
|
+
self._token = (
|
|
108
|
+
token or settings.WIALON_TOKEN
|
|
109
|
+
if settings.configured
|
|
110
|
+
else os.getenv("WIALON_TOKEN")
|
|
111
|
+
)
|
|
107
112
|
self._username = None
|
|
108
113
|
self._gis_sid = None
|
|
109
114
|
self._hw_gp_ip = None
|
|
File without changes
|
{python_terminusgps-36.0.0.dist-info → python_terminusgps-36.1.1.dist-info}/licenses/COPYING
RENAMED
|
File without changes
|