sumo-wrapper-python 1.2.0__py3-none-any.whl → 1.2.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.
- sumo/wrapper/_auth_provider.py +11 -11
- sumo/wrapper/_version.py +2 -2
- {sumo_wrapper_python-1.2.0.dist-info → sumo_wrapper_python-1.2.1.dist-info}/METADATA +1 -1
- {sumo_wrapper_python-1.2.0.dist-info → sumo_wrapper_python-1.2.1.dist-info}/RECORD +8 -8
- {sumo_wrapper_python-1.2.0.dist-info → sumo_wrapper_python-1.2.1.dist-info}/WHEEL +0 -0
- {sumo_wrapper_python-1.2.0.dist-info → sumo_wrapper_python-1.2.1.dist-info}/entry_points.txt +0 -0
- {sumo_wrapper_python-1.2.0.dist-info → sumo_wrapper_python-1.2.1.dist-info}/licenses/LICENSE +0 -0
- {sumo_wrapper_python-1.2.0.dist-info → sumo_wrapper_python-1.2.1.dist-info}/top_level.txt +0 -0
sumo/wrapper/_auth_provider.py
CHANGED
|
@@ -432,17 +432,6 @@ def get_auth_provider(
|
|
|
432
432
|
devicecode=False,
|
|
433
433
|
case_uuid=None,
|
|
434
434
|
) -> AuthProvider:
|
|
435
|
-
if all(
|
|
436
|
-
os.getenv(x)
|
|
437
|
-
for x in [
|
|
438
|
-
"AZURE_FEDERATED_TOKEN_FILE",
|
|
439
|
-
"AZURE_TENANT_ID",
|
|
440
|
-
"AZURE_CLIENT_ID",
|
|
441
|
-
"AZURE_AUTHORITY_HOST",
|
|
442
|
-
]
|
|
443
|
-
):
|
|
444
|
-
return AuthProviderManaged(resource_id)
|
|
445
|
-
# ELSE
|
|
446
435
|
if refresh_token:
|
|
447
436
|
return AuthProviderRefreshToken(
|
|
448
437
|
refresh_token, client_id, authority, resource_id
|
|
@@ -464,6 +453,17 @@ def get_auth_provider(
|
|
|
464
453
|
return auth_silent
|
|
465
454
|
pass
|
|
466
455
|
# ELSE
|
|
456
|
+
if all(
|
|
457
|
+
os.getenv(x)
|
|
458
|
+
for x in [
|
|
459
|
+
"AZURE_FEDERATED_TOKEN_FILE",
|
|
460
|
+
"AZURE_TENANT_ID",
|
|
461
|
+
"AZURE_CLIENT_ID",
|
|
462
|
+
"AZURE_AUTHORITY_HOST",
|
|
463
|
+
]
|
|
464
|
+
):
|
|
465
|
+
return AuthProviderManaged(resource_id)
|
|
466
|
+
# ELSE
|
|
467
467
|
if interactive:
|
|
468
468
|
lockfile_path = Path.home() / ".config/chromium/SingletonLock"
|
|
469
469
|
|
sumo/wrapper/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '1.2.
|
|
32
|
-
__version_tuple__ = version_tuple = (1, 2,
|
|
31
|
+
__version__ = version = '1.2.1'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 2, 1)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
sumo/__init__.py,sha256=ftS-xRPSH-vU7fIHlnZQaCTWbNvs4owJivNW65kzsIM,85
|
|
2
2
|
sumo/wrapper/__init__.py,sha256=JK6iMAy2Fdrc7iaIHTn60fHPdRvsgNjZwWD6DJtGUYQ,235
|
|
3
|
-
sumo/wrapper/_auth_provider.py,sha256=
|
|
3
|
+
sumo/wrapper/_auth_provider.py,sha256=du15SjkJ7eDEITbAJXdx6y1L4RALpSpsDrw9zE9E3fI,16472
|
|
4
4
|
sumo/wrapper/_blob_client.py,sha256=SyfyFZ1hHVWKU4lmgUqSjl5TaK_OJNQ__0wDETrp-ag,1623
|
|
5
5
|
sumo/wrapper/_decorators.py,sha256=3IEi6GXVkkDACHoo8dOeDoBtZh5TlJ6Tw0qlpOVHqLQ,806
|
|
6
6
|
sumo/wrapper/_logging.py,sha256=WAGrjPmK2_JC9w1IxT5onq1iEAreEsyzmm95pXBe0dA,1074
|
|
7
7
|
sumo/wrapper/_retry_strategy.py,sha256=JSXy-ki5vWI_N4D52LpK9EoAmPrnT3H6OG0aBLsJRMk,2525
|
|
8
|
-
sumo/wrapper/_version.py,sha256
|
|
8
|
+
sumo/wrapper/_version.py,sha256=vTBkgV8s9uBGLjgp067jeWVTh-Y6mBirMNSkXJot2J8,704
|
|
9
9
|
sumo/wrapper/config.py,sha256=6t7qqjrrmd11m4VMlRryiMYw2JDU_R51305woAP1TAs,865
|
|
10
10
|
sumo/wrapper/login.py,sha256=Bp5IgSrsgjWcgOQIQIQ5aJrCBWdK3khS-CnTmB63Rjk,1951
|
|
11
11
|
sumo/wrapper/sumo_client.py,sha256=aZmmQjxlew7aXGmtRq9zgksvK0fEvDqE6De3ZWdJuoo,21620
|
|
12
|
-
sumo_wrapper_python-1.2.
|
|
13
|
-
sumo_wrapper_python-1.2.
|
|
14
|
-
sumo_wrapper_python-1.2.
|
|
15
|
-
sumo_wrapper_python-1.2.
|
|
16
|
-
sumo_wrapper_python-1.2.
|
|
17
|
-
sumo_wrapper_python-1.2.
|
|
12
|
+
sumo_wrapper_python-1.2.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
13
|
+
sumo_wrapper_python-1.2.1.dist-info/METADATA,sha256=G8BMmUeruNG7gZeAE575Ymm1JG4R0OvBO2x6V0K14YI,14615
|
|
14
|
+
sumo_wrapper_python-1.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
15
|
+
sumo_wrapper_python-1.2.1.dist-info/entry_points.txt,sha256=V_vGky2C3He5vohJAxnBdvpt_fqfUDFj5irUm9HtoFc,55
|
|
16
|
+
sumo_wrapper_python-1.2.1.dist-info/top_level.txt,sha256=rLbKyH9rWgCj3PoLeR7fvC5X8vCaUc5LF8-Y_GBWZL0,5
|
|
17
|
+
sumo_wrapper_python-1.2.1.dist-info/RECORD,,
|
|
File without changes
|
{sumo_wrapper_python-1.2.0.dist-info → sumo_wrapper_python-1.2.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{sumo_wrapper_python-1.2.0.dist-info → sumo_wrapper_python-1.2.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|