sumo-wrapper-python 1.6.0__tar.gz → 1.6.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.6.0 → sumo_wrapper_python-1.6.1}/PKG-INFO +1 -1
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo/wrapper/_version.py +3 -3
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo/wrapper/sumo_client.py +5 -2
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo_wrapper_python.egg-info/PKG-INFO +1 -1
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/.github/pull_request_template.md +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/.github/workflows/build_docs.yaml +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/.github/workflows/linting.yml +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/.github/workflows/publish_release.yml +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/.github/workflows/pytest.yml +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/.gitignore +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/.pre-commit-config.yaml +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/.readthedocs.yaml +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/CONTRIBUTING.md +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/LICENSE +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/README.md +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/SECURITY.md +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/Makefile +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/_static/equinor-logo.png +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/_static/equinor-logo2.jpg +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/_static/equinor_logo.jpg +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/_static/equinor_logo_only.jpg +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/_templates/layout.html +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/api.rst +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/conf.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/index.rst +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/make.bat +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/docs/sumo-wrapper-python.rst +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/pyproject.toml +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/setup.cfg +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo/__init__.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo/wrapper/__init__.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo/wrapper/_auth_provider.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo/wrapper/_blob_client.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo/wrapper/_decorators.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo/wrapper/_logging.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo/wrapper/_retry_strategy.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo/wrapper/login.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo_wrapper_python.egg-info/SOURCES.txt +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo_wrapper_python.egg-info/dependency_links.txt +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo_wrapper_python.egg-info/entry_points.txt +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo_wrapper_python.egg-info/requires.txt +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/src/sumo_wrapper_python.egg-info/top_level.txt +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/tests/conftest.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/tests/test_sumo_thin_client.py +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/tests/testdata/case.yml +0 -0
- {sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.1}/tests/testdata/surface.yml +0 -0
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '1.6.
|
|
22
|
-
__version_tuple__ = version_tuple = (1, 6,
|
|
21
|
+
__version__ = version = '1.6.1'
|
|
22
|
+
__version_tuple__ = version_tuple = (1, 6, 1)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g298e73c63'
|
|
@@ -26,6 +26,8 @@ WELL_KNOWN = os.environ.get(
|
|
|
26
26
|
"SUMOCONNECTIONINFO", "https://api.sumo.equinor.com/well-known"
|
|
27
27
|
)
|
|
28
28
|
|
|
29
|
+
well_known = None
|
|
30
|
+
|
|
29
31
|
|
|
30
32
|
class SumoClient:
|
|
31
33
|
"""Authenticate and perform requests to the Sumo API."""
|
|
@@ -70,8 +72,9 @@ class SumoClient:
|
|
|
70
72
|
"""
|
|
71
73
|
|
|
72
74
|
logger.setLevel(verbosity)
|
|
73
|
-
|
|
74
|
-
well_known
|
|
75
|
+
global well_known
|
|
76
|
+
if well_known is None:
|
|
77
|
+
well_known = httpx.get(WELL_KNOWN).json()
|
|
75
78
|
if env not in well_known["envs"]:
|
|
76
79
|
raise ValueError(f"Invalid environment: {env}")
|
|
77
80
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sumo_wrapper_python-1.6.0 → sumo_wrapper_python-1.6.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
|
|
File without changes
|
|
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.6.0 → sumo_wrapper_python-1.6.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
|