howler-sentinel-plugin 0.2.0.dev165__py3-none-any.whl → 0.2.0.dev166__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.
- {howler_sentinel_plugin-0.2.0.dev165.dist-info → howler_sentinel_plugin-0.2.0.dev166.dist-info}/METADATA +1 -1
- {howler_sentinel_plugin-0.2.0.dev165.dist-info → howler_sentinel_plugin-0.2.0.dev166.dist-info}/RECORD +6 -6
- sentinel/utils/tenant_utils.py +1 -1
- {howler_sentinel_plugin-0.2.0.dev165.dist-info → howler_sentinel_plugin-0.2.0.dev166.dist-info}/WHEEL +0 -0
- {howler_sentinel_plugin-0.2.0.dev165.dist-info → howler_sentinel_plugin-0.2.0.dev166.dist-info}/entry_points.txt +0 -0
- {howler_sentinel_plugin-0.2.0.dev165.dist-info → howler_sentinel_plugin-0.2.0.dev166.dist-info}/licenses/LICENSE +0 -0
|
@@ -13,9 +13,9 @@ sentinel/odm/hit.py,sha256=XEStYFIfiEUzcNVYo2Z1s6U7j6B-IDQOhRZR6YRUJn0,867
|
|
|
13
13
|
sentinel/odm/models/sentinel.py,sha256=XT3XdT92uoCV5vmY9dT1jmcxRyuu9vp1gE8AwZdKBIc,337
|
|
14
14
|
sentinel/routes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
sentinel/routes/ingest.py,sha256=XlQqOaZT-6_cBUuhe_DAdD81brKIgG1B4d3ZH8JJ0NA,10788
|
|
16
|
-
sentinel/utils/tenant_utils.py,sha256=
|
|
17
|
-
howler_sentinel_plugin-0.2.0.
|
|
18
|
-
howler_sentinel_plugin-0.2.0.
|
|
19
|
-
howler_sentinel_plugin-0.2.0.
|
|
20
|
-
howler_sentinel_plugin-0.2.0.
|
|
21
|
-
howler_sentinel_plugin-0.2.0.
|
|
16
|
+
sentinel/utils/tenant_utils.py,sha256=Wc7v2A8pQ69YdK9LsNCb2Vmg77kV2teHq9Sqn2EKoqc,1725
|
|
17
|
+
howler_sentinel_plugin-0.2.0.dev166.dist-info/METADATA,sha256=uojClTwQpW71WvYZXIinyzM8maC3xArmqNDBFnD19HI,822
|
|
18
|
+
howler_sentinel_plugin-0.2.0.dev166.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
19
|
+
howler_sentinel_plugin-0.2.0.dev166.dist-info/entry_points.txt,sha256=4IJyMY0V49s3Wp659ngN_7U8g66-czeKxI-_dNAFP5g,60
|
|
20
|
+
howler_sentinel_plugin-0.2.0.dev166.dist-info/licenses/LICENSE,sha256=Wg2luVnxEkP2NSn11nh1US6W_nFFbICBAVTG9iG3t5M,1091
|
|
21
|
+
howler_sentinel_plugin-0.2.0.dev166.dist-info/RECORD,,
|
sentinel/utils/tenant_utils.py
CHANGED
|
@@ -16,7 +16,7 @@ def skip_cache(*args):
|
|
|
16
16
|
|
|
17
17
|
@cache.memoize(15 * 60, unless=skip_cache)
|
|
18
18
|
def get_token(tenant_id: str, scope: str) -> Optional[str]:
|
|
19
|
-
"""Get a
|
|
19
|
+
"""Get a sentinel token based on the current howler token"""
|
|
20
20
|
from sentinel.config import config
|
|
21
21
|
|
|
22
22
|
token = None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|