sumo-wrapper-python 1.0.10__tar.gz → 1.0.11__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.

Files changed (46) hide show
  1. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/PKG-INFO +1 -1
  2. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/wrapper/_auth_provider.py +6 -4
  3. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/wrapper/_version.py +2 -2
  4. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo_wrapper_python.egg-info/PKG-INFO +1 -1
  5. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/.flake8 +0 -0
  6. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/.github/workflows/build_docs.yaml +0 -0
  7. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/.github/workflows/linting.yml +0 -0
  8. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/.github/workflows/publish_release.yml +0 -0
  9. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/.github/workflows/pytest.yml +0 -0
  10. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/.gitignore +0 -0
  11. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/.readthedocs.yaml +0 -0
  12. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/CONTRIBUTING.md +0 -0
  13. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/LICENSE +0 -0
  14. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/README.md +0 -0
  15. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/SECURITY.md +0 -0
  16. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/conftest.py +0 -0
  17. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/Makefile +0 -0
  18. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/_static/equinor-logo.png +0 -0
  19. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/_static/equinor-logo2.jpg +0 -0
  20. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/_static/equinor_logo.jpg +0 -0
  21. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/_static/equinor_logo_only.jpg +0 -0
  22. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/_templates/layout.html +0 -0
  23. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/api.rst +0 -0
  24. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/conf.py +0 -0
  25. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/index.rst +0 -0
  26. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/make.bat +0 -0
  27. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/docs/sumo-wrapper-python.rst +0 -0
  28. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/pyproject.toml +0 -0
  29. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/setup.cfg +0 -0
  30. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/__init__.py +0 -0
  31. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/wrapper/__init__.py +0 -0
  32. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/wrapper/_blob_client.py +0 -0
  33. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/wrapper/_decorators.py +0 -0
  34. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/wrapper/_logging.py +0 -0
  35. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/wrapper/_retry_strategy.py +0 -0
  36. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/wrapper/config.py +0 -0
  37. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/wrapper/login.py +0 -0
  38. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo/wrapper/sumo_client.py +0 -0
  39. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo_wrapper_python.egg-info/SOURCES.txt +0 -0
  40. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo_wrapper_python.egg-info/dependency_links.txt +0 -0
  41. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo_wrapper_python.egg-info/entry_points.txt +0 -0
  42. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo_wrapper_python.egg-info/requires.txt +0 -0
  43. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/src/sumo_wrapper_python.egg-info/top_level.txt +0 -0
  44. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/tests/test_sumo_thin_client.py +0 -0
  45. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/tests/testdata/case.yml +0 -0
  46. {sumo_wrapper_python-1.0.10 → sumo_wrapper_python-1.0.11}/tests/testdata/surface.yml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sumo-wrapper-python
3
- Version: 1.0.10
3
+ Version: 1.0.11
4
4
  Summary: Python wrapper for the Sumo API
5
5
  Author: Equinor
6
6
  License: Apache License
@@ -406,10 +406,12 @@ def get_auth_provider(
406
406
  if os.path.exists(get_token_path(resource_id, ".sharedkey")):
407
407
  return AuthProviderSumoToken(resource_id)
408
408
  # ELSE
409
- auth_silent = AuthProviderSilent(client_id, authority, resource_id)
410
- token = auth_silent.get_token()
411
- if token is not None:
412
- return auth_silent
409
+ if os.path.exists(get_token_path(resource_id, ".token")):
410
+ auth_silent = AuthProviderSilent(client_id, authority, resource_id)
411
+ token = auth_silent.get_token()
412
+ if token is not None:
413
+ return auth_silent
414
+ pass
413
415
  # ELSE
414
416
  if interactive:
415
417
  return AuthProviderInteractive(client_id, authority, resource_id)
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.0.10'
16
- __version_tuple__ = version_tuple = (1, 0, 10)
15
+ __version__ = version = '1.0.11'
16
+ __version_tuple__ = version_tuple = (1, 0, 11)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sumo-wrapper-python
3
- Version: 1.0.10
3
+ Version: 1.0.11
4
4
  Summary: Python wrapper for the Sumo API
5
5
  Author: Equinor
6
6
  License: Apache License