sumo-wrapper-python 1.2.0__tar.gz → 1.2.1__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.
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/.github/workflows/pytest.yml +1 -1
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/PKG-INFO +1 -1
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/sumo-wrapper-python.rst +3 -3
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/wrapper/_version.py +3 -3
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo_wrapper_python.egg-info/PKG-INFO +1 -1
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/.github/workflows/build_docs.yaml +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/.github/workflows/linting.yml +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/.github/workflows/publish_release.yml +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/.gitignore +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/.pre-commit-config.yaml +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/.readthedocs.yaml +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/CONTRIBUTING.md +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/LICENSE +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/README.md +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/SECURITY.md +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/Makefile +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/_static/equinor-logo.png +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/_static/equinor-logo2.jpg +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/_static/equinor_logo.jpg +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/_static/equinor_logo_only.jpg +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/_templates/layout.html +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/api.rst +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/conf.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/index.rst +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/docs/make.bat +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/pyproject.toml +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/setup.cfg +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/__init__.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/wrapper/__init__.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/wrapper/_auth_provider.py +11 -11
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/wrapper/_blob_client.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/wrapper/_decorators.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/wrapper/_logging.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/wrapper/_retry_strategy.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/wrapper/config.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/wrapper/login.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo/wrapper/sumo_client.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo_wrapper_python.egg-info/SOURCES.txt +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo_wrapper_python.egg-info/dependency_links.txt +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo_wrapper_python.egg-info/entry_points.txt +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo_wrapper_python.egg-info/requires.txt +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo_wrapper_python.egg-info/top_level.txt +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/tests/conftest.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/tests/test_sumo_thin_client.py +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/tests/testdata/case.yml +0 -0
- {sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/tests/testdata/surface.yml +0 -0
|
@@ -13,7 +13,7 @@ For usage in the FMU context, the higher-level alternative
|
|
|
13
13
|
`fmu-sumo <https://fmu-sumo.readthedocs.io>`_ is recommended.
|
|
14
14
|
|
|
15
15
|
The Sumo API is described at
|
|
16
|
-
`https://
|
|
16
|
+
`https://api.sumo.equinor.com/swagger-ui/ <https://api.sumo.equinor.com/swagger-ui/>`_
|
|
17
17
|
|
|
18
18
|
The data model and schema is described at
|
|
19
19
|
`https://fmu-dataio.readthedocs.io/en/latest/datamodel.html <https://fmu-dataio.readthedocs.io/en/latest/datamodel.html>`_
|
|
@@ -70,7 +70,7 @@ API: GET, PUT, POST and DELETE. In addition a method to get a blob client
|
|
|
70
70
|
which handles blob contents.
|
|
71
71
|
|
|
72
72
|
The methods accepts a path argument. A path is the path to a
|
|
73
|
-
Sumo `API <https://
|
|
73
|
+
Sumo `API <https://api.sumo.equinor.com/swagger-ui/>`_ method, for
|
|
74
74
|
example "/search" or "/smda/countries". Path parameters can be added into
|
|
75
75
|
the path string, for example
|
|
76
76
|
|
|
@@ -80,7 +80,7 @@ the path string, for example
|
|
|
80
80
|
|
|
81
81
|
The Sumo API documentation is available from the Swagger button in
|
|
82
82
|
the Sumo frontend, or you can use this link:
|
|
83
|
-
`https://
|
|
83
|
+
`https://api.sumo.equinor.com/swagger-ui/ <https://api.sumo.equinor.com/swagger-ui/>`_.
|
|
84
84
|
|
|
85
85
|
Async methods
|
|
86
86
|
*************
|
|
@@ -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
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'g78c73ad65'
|
|
File without changes
|
|
File without changes
|
{sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/.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,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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sumo_wrapper_python-1.2.0 → sumo_wrapper_python-1.2.1}/src/sumo_wrapper_python.egg-info/SOURCES.txt
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
|