Releases: equinor/sumo-wrapper-python
Releases · equinor/sumo-wrapper-python
1.0.11: Don't try to use AuthProviderSilent if there is no token cache file.
Fixes a crash when running on radix with a read-only /home
1.0.10: Improvements in efficiency, robustness and authorization.
- More efficient use of
httpx. - Add
--silentoption tosumo_login. - Re-use
httpx.clientinstances. - Add
timeoutparameter toSumoClientconstructor. - Enable
withsyntax forSumoClient.
1.0.9
What's Changed
In short:
- documentation and ReadTheDocs updates
- improved login functionality/messages and fallback to device-code login
Full Changelog: 1.0.8...1.0.9
Improved retry functionality
What's Changed
Full Changelog: 1.0.7...1.0.8
1.0.7
Make async methods in SumoClient work again.
What's Changed
- Async methods obviously need AsyncRetrying, dummy. by @rwiker in #176
- Revert back to msal>=1.20.0 by @rwiker in #177
Full Changelog: 1.0.4...1.0.6
Make async methods in SumoClient work again.
What's Changed
- Async methods obviously need AsyncRetrying, dummy. by @rwiker in #176
- Revert back to msal>=1.20.0 by @rwiker in #177
Full Changelog: 1.0.4...1.0.5
1.0.4
What's Changed
- flake8 config by @equinor-ruaj in #168
- Make tenacity great again by @rwiker in #170
- Compliant device fix by @roywilly in #171
- make it possible to influence the retry strategy by @rwiker in #172
- Cleanup and logging changes for retries by @rwiker in #173
- Remove logging that may not work in all situations. by @rwiker in #174
Full Changelog: 1.0.3...1.0.4
Make version info available
Version tag is now available via sumo.wrapper.version (and sumo.wrapper.__version__):
import sumo.wrapper
print(sumo.wrapper.version)
print(sumo.wrapper.__version__)
Authorization fixes
- Change auth provider precedence (specifically, if a token is supplied, use that).
- Only use scope offline_access for device code and interactive LOGIN.
- Protect token cache, also for interactive login.