sumo-wrapper-python 1.0.28__tar.gz → 1.1.0__tar.gz
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 sumo-wrapper-python might be problematic. Click here for more details.
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/.github/workflows/build_docs.yaml +4 -4
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/.github/workflows/pytest.yml +1 -1
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/PKG-INFO +2 -2
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/pyproject.toml +1 -1
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/_version.py +2 -2
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo_wrapper_python.egg-info/PKG-INFO +2 -2
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/.github/workflows/linting.yml +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/.github/workflows/publish_release.yml +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/.gitignore +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/.pre-commit-config.yaml +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/.readthedocs.yaml +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/CONTRIBUTING.md +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/LICENSE +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/README.md +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/SECURITY.md +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/Makefile +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/_static/equinor-logo.png +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/_static/equinor-logo2.jpg +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/_static/equinor_logo.jpg +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/_static/equinor_logo_only.jpg +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/_templates/layout.html +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/api.rst +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/conf.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/index.rst +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/make.bat +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/docs/sumo-wrapper-python.rst +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/setup.cfg +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/__init__.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/__init__.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/_auth_provider.py +11 -11
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/_blob_client.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/_decorators.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/_logging.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/_retry_strategy.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/config.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/login.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/sumo_client.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo_wrapper_python.egg-info/SOURCES.txt +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo_wrapper_python.egg-info/dependency_links.txt +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo_wrapper_python.egg-info/entry_points.txt +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo_wrapper_python.egg-info/requires.txt +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo_wrapper_python.egg-info/top_level.txt +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/tests/conftest.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/tests/test_sumo_thin_client.py +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/tests/testdata/case.yml +0 -0
- {sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/tests/testdata/surface.yml +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Build the docs here, to show errors.
|
|
2
|
-
# The actual deployment of docs is configured in ReadTheDocs.org.
|
|
1
|
+
# Build the docs here, to show errors.
|
|
2
|
+
# The actual deployment of docs is configured in ReadTheDocs.org.
|
|
3
3
|
|
|
4
|
-
name: Build and deploy docs
|
|
4
|
+
name: Build and deploy docs
|
|
5
5
|
|
|
6
6
|
on:
|
|
7
7
|
pull_request:
|
|
@@ -15,7 +15,7 @@ jobs:
|
|
|
15
15
|
runs-on: ${{ matrix.os }}
|
|
16
16
|
strategy:
|
|
17
17
|
matrix:
|
|
18
|
-
python-version: ["3.
|
|
18
|
+
python-version: ["3.11"]
|
|
19
19
|
os: [ubuntu-latest]
|
|
20
20
|
|
|
21
21
|
steps:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sumo-wrapper-python
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Python wrapper for the Sumo API
|
|
5
5
|
Author: Equinor
|
|
6
6
|
License: Apache License
|
|
@@ -208,7 +208,7 @@ License: Apache License
|
|
|
208
208
|
Project-URL: Repository, https://github.com/equinor/sumo-wrapper-python
|
|
209
209
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
210
210
|
Classifier: Programming Language :: Python
|
|
211
|
-
Requires-Python: >=3.
|
|
211
|
+
Requires-Python: >=3.11
|
|
212
212
|
Description-Content-Type: text/markdown
|
|
213
213
|
License-File: LICENSE
|
|
214
214
|
Requires-Dist: msal>=1.20.0
|
{sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo_wrapper_python.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sumo-wrapper-python
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Python wrapper for the Sumo API
|
|
5
5
|
Author: Equinor
|
|
6
6
|
License: Apache License
|
|
@@ -208,7 +208,7 @@ License: Apache License
|
|
|
208
208
|
Project-URL: Repository, https://github.com/equinor/sumo-wrapper-python
|
|
209
209
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
210
210
|
Classifier: Programming Language :: Python
|
|
211
|
-
Requires-Python: >=3.
|
|
211
|
+
Requires-Python: >=3.11
|
|
212
212
|
Description-Content-Type: text/markdown
|
|
213
213
|
License-File: LICENSE
|
|
214
214
|
Requires-Dist: msal>=1.20.0
|
|
File without changes
|
{sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/.github/workflows/publish_release.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -432,6 +432,17 @@ 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
|
|
435
446
|
if refresh_token:
|
|
436
447
|
return AuthProviderRefreshToken(
|
|
437
448
|
refresh_token, client_id, authority, resource_id
|
|
@@ -473,17 +484,6 @@ def get_auth_provider(
|
|
|
473
484
|
# under Equinor compliant device policy
|
|
474
485
|
return AuthProviderDeviceCode(client_id, authority, resource_id)
|
|
475
486
|
# ELSE
|
|
476
|
-
if all(
|
|
477
|
-
os.getenv(x)
|
|
478
|
-
for x in [
|
|
479
|
-
"AZURE_FEDERATED_TOKEN_FILE",
|
|
480
|
-
"AZURE_TENANT_ID",
|
|
481
|
-
"AZURE_CLIENT_ID",
|
|
482
|
-
"AZURE_AUTHORITY_HOST",
|
|
483
|
-
]
|
|
484
|
-
):
|
|
485
|
-
return AuthProviderManaged(resource_id)
|
|
486
|
-
# ELSE
|
|
487
487
|
return AuthProviderNone(resource_id)
|
|
488
488
|
|
|
489
489
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sumo_wrapper_python-1.0.28 → sumo_wrapper_python-1.1.0}/src/sumo/wrapper/_retry_strategy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|