You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working through the raster analytics notebooks I consistently received an error when various methods attempted to check for the authorization token freshness. Although I may be missing something, the Auth class from /MGP_SDK/auth/auth.py doesn't appear to have a check_token_expiration method.
Version
mgp-sdk version 1.3.2
Problem
When working through the raster analytics notebooks I consistently received an error when various methods attempted to check for the authorization token freshness. Although I may be missing something, the Auth class from
/MGP_SDK/auth/auth.py
doesn't appear to have acheck_token_expiration
method.Ultimately, I know they are just strings but I have tried with the old OAuth2 bearer token and the newer API key method here: https://github.com/Maxar-Corp/maxar-geospatial-platform/
Hack
Hashing out the following lines allows for the demonstrated methods to mostly function properly:
/MGP_SDK/analytics_service/analytics.py:48
/MGP_SDK/analytics_service/analytics.py:106
/MGP_SDK/analytics_service/analytics.py:133
/MGP_SDK/analytics_service/analytics.py:152
Error
The text was updated successfully, but these errors were encountered: