volue-insight-timeseries 1.2.3__py3-none-any.whl → 1.3.0__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 volue-insight-timeseries might be problematic. Click here for more details.
- volue_insight_timeseries/VERSION +1 -1
- volue_insight_timeseries/auth.py +9 -2
- {volue_insight_timeseries-1.2.3.dist-info → volue_insight_timeseries-1.3.0.dist-info}/METADATA +1 -1
- {volue_insight_timeseries-1.2.3.dist-info → volue_insight_timeseries-1.3.0.dist-info}/RECORD +7 -7
- {volue_insight_timeseries-1.2.3.dist-info → volue_insight_timeseries-1.3.0.dist-info}/LICENSE +0 -0
- {volue_insight_timeseries-1.2.3.dist-info → volue_insight_timeseries-1.3.0.dist-info}/WHEEL +0 -0
- {volue_insight_timeseries-1.2.3.dist-info → volue_insight_timeseries-1.3.0.dist-info}/top_level.txt +0 -0
volue_insight_timeseries/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.3.0
|
volue_insight_timeseries/auth.py
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import json
|
|
6
6
|
import time
|
|
7
7
|
import threading
|
|
8
|
+
import os
|
|
8
9
|
|
|
9
10
|
try:
|
|
10
11
|
from urllib.parse import urljoin
|
|
@@ -59,6 +60,12 @@ class OAuth:
|
|
|
59
60
|
|
|
60
61
|
def get_headers(self, data):
|
|
61
62
|
"""The web-token auth header is simple"""
|
|
63
|
+
headers = {}
|
|
62
64
|
if self.token is not None and self.token_type is not None:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
+
headers['Authorization'] = '{} {}'.format(self.token_type, self.token)
|
|
66
|
+
|
|
67
|
+
wapi_request_source = os.getenv('WAPI_REQUEST_SOURCE')
|
|
68
|
+
if wapi_request_source:
|
|
69
|
+
headers['X-Request-Source'] = wapi_request_source
|
|
70
|
+
|
|
71
|
+
return headers
|
{volue_insight_timeseries-1.2.3.dist-info → volue_insight_timeseries-1.3.0.dist-info}/RECORD
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
volue_insight_timeseries/VERSION,sha256=
|
|
1
|
+
volue_insight_timeseries/VERSION,sha256=ZNI_hY71Gw-Zbklm1OJ8A3G0N-LSeHiQsfetItTsVmM,6
|
|
2
2
|
volue_insight_timeseries/__init__.py,sha256=DXR1tB3huHaG9wKRbpSEYhAat97msXrFgdp9eyYR5Wc,274
|
|
3
|
-
volue_insight_timeseries/auth.py,sha256=
|
|
3
|
+
volue_insight_timeseries/auth.py,sha256=wetOsgVpAU3ApnDqjcjGsCbyWO1sewmByLPzvGSFiKg,2322
|
|
4
4
|
volue_insight_timeseries/curves.py,sha256=DaHtO5gmcx_f-OZY9kJPoQWc40WEAxhWR_TG3Fwv00A,65949
|
|
5
5
|
volue_insight_timeseries/events.py,sha256=95Ha6JJ6Gwk0OqK9KPkkNoLqECjnXQJJ6rrjdOK3gik,4217
|
|
6
6
|
volue_insight_timeseries/session.py,sha256=u271_x8rSeuCi8IvaUTcweBHahY1pVEVkhTGZYmJcNY,20124
|
|
7
7
|
volue_insight_timeseries/util.py,sha256=ep7eyx_0nXXxGI84ZdYrZybOGmkgLf2iU9Z1QK-4FTM,10492
|
|
8
|
-
volue_insight_timeseries-1.
|
|
9
|
-
volue_insight_timeseries-1.
|
|
10
|
-
volue_insight_timeseries-1.
|
|
11
|
-
volue_insight_timeseries-1.
|
|
12
|
-
volue_insight_timeseries-1.
|
|
8
|
+
volue_insight_timeseries-1.3.0.dist-info/LICENSE,sha256=QW5nSxE0LozNpYWdyJm_0hco_PidycTnelwYzKdW7ZM,1069
|
|
9
|
+
volue_insight_timeseries-1.3.0.dist-info/METADATA,sha256=VXZZP3dX2QMSHWGM-9Oe_7j9NYqYkZ_4mdO57sfmcu0,657
|
|
10
|
+
volue_insight_timeseries-1.3.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
11
|
+
volue_insight_timeseries-1.3.0.dist-info/top_level.txt,sha256=IxOCIoqzMAV5gS4n6CIoRW9kBZnKQHyUPlDuJpEXmNY,25
|
|
12
|
+
volue_insight_timeseries-1.3.0.dist-info/RECORD,,
|
{volue_insight_timeseries-1.2.3.dist-info → volue_insight_timeseries-1.3.0.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{volue_insight_timeseries-1.2.3.dist-info → volue_insight_timeseries-1.3.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|